forked from bibanon/tubeup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (29 loc) · 756 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from setuptools import setup
import re
import ast
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('tubeup/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='tubeup',
version=version,
url='https://github.com/bibanon/tubeup',
license='GPL 3',
author='Bibliotheca Anonoma',
description='Youtube (and other video site) to Internet Archive Uploader',
packages=[
'tubeup',
],
entry_points={
'console_scripts': [
'tubeup = tubeup.__main__:main',
],
},
install_requires=[
'internetarchive',
'urllib3==1.26.13',
'docopt==0.6.2',
'yt-dlp',
]
)