setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/usr/bin/env python
  2. from setuptools import setup, find_packages
  3. import os
  4. # __version__ comes into namespace from here
  5. with open(os.path.join("scribdl", "version.py")) as version_file:
  6. exec(version_file.read())
  7. with open("README.md", "r") as f:
  8. long_description = f.read()
  9. setup(name='scribd-downloader',
  10. version=__version__,
  11. description='Download documents, books and audiobooks off Scribd',
  12. long_description=long_description,
  13. long_description_content_type='text/markdown',
  14. author='Max',
  15. author_email='',
  16. packages = find_packages(),
  17. entry_points={
  18. 'console_scripts': [
  19. 'scribdl = scribdl.command_line:_command_line',
  20. ]
  21. },
  22. url='https://notabug.org/Bugindahouse/Cadmus',
  23. keywords=['scribd-downloader', 'documents', 'command-line', 'python'],
  24. license='MIT',
  25. download_url='https://notabug.org/Bugindahouse/Cadmus/archive/master.tar.gz',
  26. classifiers=[],
  27. install_requires=[
  28. 'requests >= 2.19.1',
  29. 'BeautifulSoup4 >= 4.6.3',
  30. 'img2pdf >= 0.3.1',
  31. 'md2pdf >= 0.4',
  32. 'tqdm >= 4.32.2',
  33. 'requests-html >= 0.10.0'
  34. ]
  35. )