setup.py 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. import os
  2. import setuptools
  3. BASE_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
  4. PYTHON_DIR = os.path.join(BASE_DIR, 'archivebox')
  5. with open('README.md', "r") as f:
  6. README = f.read()
  7. with open(os.path.join(PYTHON_DIR, 'VERSION'), 'r') as f:
  8. VERSION = f.read().strip()
  9. setuptools.setup(
  10. name="archivebox",
  11. version=VERSION,
  12. author="Nick Sweeting",
  13. author_email="[email protected]",
  14. description="The self-hosted internet archive.",
  15. long_description=README,
  16. long_description_content_type="text/markdown",
  17. url="https://github.com/pirate/ArchiveBox",
  18. license='MIT',
  19. project_urls={
  20. 'Donate': 'https://github.com/pirate/ArchiveBox/wiki/Donations',
  21. 'Changelog': 'https://github.com/pirate/ArchiveBox/wiki/Changelog',
  22. 'Roadmap': 'https://github.com/pirate/ArchiveBox/wiki/Roadmap',
  23. 'Bug Tracker': 'https://github.com/pirate/ArchiveBox/issues',
  24. 'Source': 'https://github.com/pirate/ArchiveBox',
  25. 'Community': 'https://github.com/pirate/ArchiveBox/wiki/Web-Archiving-Community',
  26. 'Documentation': 'https://github.com/pirate/ArchiveBox/Wiki',
  27. },
  28. packages=setuptools.find_packages(),
  29. python_requires='>=3.6',
  30. install_requires=[
  31. "dataclasses==0.6",
  32. "mypy-extensions==0.4.1",
  33. "base32-crockford==0.3.0",
  34. "django==2.2",
  35. "django-extensions==2.1.6",
  36. "python-crontab==2.3.6",
  37. "youtube-dl",
  38. "ipython",
  39. # Some/all of these will likely be added in the future:
  40. # wpull
  41. # pywb
  42. # pyppeteer
  43. # archivenow
  44. # requests
  45. ],
  46. entry_points={
  47. 'console_scripts': [
  48. 'archivebox = archivebox.__main__:main',
  49. ],
  50. },
  51. include_package_data=True,
  52. classifiers=[
  53. "Development Status :: 4 - Beta",
  54. "Topic :: Utilities",
  55. "Topic :: System :: Archiving",
  56. "Topic :: System :: Archiving :: Backup",
  57. "Topic :: System :: Recovery Tools",
  58. "Topic :: Sociology :: History",
  59. "Topic :: Internet :: WWW/HTTP",
  60. "Topic :: Internet :: WWW/HTTP :: Indexing/Search",
  61. "Topic :: Internet :: WWW/HTTP :: WSGI",
  62. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  63. "Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
  64. "Topic :: Software Development :: Libraries :: Python Modules",
  65. "Intended Audience :: Developers",
  66. "Intended Audience :: Education",
  67. "Intended Audience :: End Users/Desktop",
  68. "Intended Audience :: Information Technology",
  69. "Intended Audience :: Legal Industry",
  70. "Intended Audience :: System Administrators",
  71. "Environment :: Console",
  72. "Environment :: Web Environment",
  73. "Programming Language :: Python :: 3",
  74. "Programming Language :: Python :: 3.6",
  75. "Programming Language :: Python :: 3.7",
  76. "Programming Language :: Python :: 3.8",
  77. 'Framework :: Django',
  78. "Typing :: Typed",
  79. "License :: OSI Approved :: MIT License",
  80. "Natural Language :: English",
  81. "Operating System :: OS Independent",
  82. ],
  83. )