setup.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. from setuptools import setup
  2. setup(
  3. name='crocoite',
  4. version='1.1.1',
  5. author='Lars-Dominik Braun',
  6. author_email='lars+crocoite@6xq.net',
  7. url='https://6xq.net/crocoite/',
  8. packages=['crocoite'],
  9. license='LICENSE.txt',
  10. description='Save website to WARC using Google Chrome.',
  11. long_description=open('README.rst').read(),
  12. long_description_content_type='text/x-rst',
  13. install_requires=[
  14. 'warcio',
  15. 'html5lib>=0.999999999',
  16. 'bottom',
  17. 'pytz',
  18. 'websockets',
  19. 'aiohttp',
  20. 'PyYAML',
  21. 'yarl>=1.4,<1.5',
  22. 'multidict',
  23. ],
  24. extras_require={
  25. 'manhole': ['manhole>=1.6'],
  26. },
  27. entry_points={
  28. 'console_scripts': [
  29. # the main executable
  30. 'crocoite = crocoite.cli:recursive',
  31. # backend helper
  32. 'crocoite-single = crocoite.cli:single',
  33. # irc bot and dashboard
  34. 'crocoite-irc = crocoite.cli:irc',
  35. 'crocoite-irc-dashboard = crocoite.cli:dashboard',
  36. # misc tools
  37. 'crocoite-merge-warc = crocoite.tools:mergeWarcCli',
  38. 'crocoite-extract-screenshot = crocoite.tools:extractScreenshot',
  39. 'crocoite-errata = crocoite.tools:errata',
  40. ],
  41. },
  42. package_data={
  43. 'crocoite': ['data/*'],
  44. },
  45. setup_requires=['pytest-runner'],
  46. tests_require=["pytest", 'pytest-asyncio', 'pytest-cov', 'hypothesis'],
  47. python_requires='>=3.6',
  48. classifiers=[
  49. 'Development Status :: 5 - Production/Stable',
  50. 'License :: OSI Approved :: MIT License',
  51. 'Operating System :: POSIX',
  52. 'Programming Language :: Python :: 3.6',
  53. 'Programming Language :: Python :: 3.7',
  54. 'Topic :: Internet :: WWW/HTTP',
  55. ],
  56. )