setup.py 728 B

1234567891011121314151617181920212223242526272829303132
  1. from setuptools import setup
  2. import re
  3. import ast
  4. _version_re = re.compile(r'__version__\s+=\s+(.*)')
  5. with open('tubeup/__init__.py', 'rb') as f:
  6. version = str(ast.literal_eval(_version_re.search(
  7. f.read().decode('utf-8')).group(1)))
  8. setup(
  9. name='tubeup',
  10. version=version,
  11. url='https://github.com/bibanon/tubeup',
  12. license='GPL 3',
  13. author='Bibliotheca Anonoma',
  14. description='Youtube (and other video site) to Internet Archive Uploader',
  15. packages=[
  16. 'tubeup',
  17. ],
  18. entry_points={
  19. 'console_scripts': [
  20. 'tubeup = tubeup.__main__:main',
  21. ],
  22. },
  23. install_requires=[
  24. 'internetarchive',
  25. 'docopt==0.6.2',
  26. 'yt-dlp',
  27. ]
  28. )