setup.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. from setuptools import find_packages, setup # type: ignore
  2. INSTALL_REQUIRES = [
  3. 'aiohttp>=3.8.0',
  4. 'httpx==0.28.1',
  5. 'Jinja2==3.1.6',
  6. 'tabulate==0.9.0',
  7. 'termcolor==3.1.0',
  8. ]
  9. SETUP_REQUIRES = [
  10. 'setuptools_scm>=3.2.0',
  11. ]
  12. EXTRA_REQUIRES = {
  13. 'docs': [
  14. "click==8.2.1",
  15. 'mkdocs>=1.5.0',
  16. 'mkdocs-material>=9.0.0',
  17. 'mkdocstrings[python]>=0.24.0',
  18. 'mkdocs-autorefs>=0.5.0',
  19. 'pymdown-extensions>=10.0',
  20. ],
  21. 'dev': [
  22. 'pytest>=7.0.0',
  23. 'pytest-asyncio>=0.21.0',
  24. ],
  25. }
  26. setup(
  27. author='Fabrizio Furnari',
  28. author_email='ffurnari@wikimedia.org',
  29. description='HTTP reverse proxy testing framework',
  30. install_requires=INSTALL_REQUIRES,
  31. name='httphound',
  32. packages=find_packages(exclude=["test_*"]),
  33. setup_requires=SETUP_REQUIRES,
  34. extras_require=EXTRA_REQUIRES,
  35. url='https://gitlab.wikimedia.org/repos/sre/httphound',
  36. use_scm_version=True,
  37. entry_points={
  38. 'console_scripts': ['httphound=httphound.main:start'],
  39. },
  40. )