setup.py 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #!/usr/bin/env python
  2. from setuptools import setup, find_packages
  3. setup(
  4. name="django-axes",
  5. description="Keep track of failed login attempts in Django-powered sites.",
  6. long_description="\n".join(
  7. [
  8. open("README.rst", encoding="utf-8").read(),
  9. open("CHANGES.rst", encoding="utf-8").read(),
  10. ]
  11. ),
  12. keywords="authentication django pci security",
  13. author=", ".join(
  14. [
  15. "Josh VanderLinden",
  16. "Philip Neustrom",
  17. "Michael Blume",
  18. "Alex Clark",
  19. "Camilo Nova",
  20. "Aleksi Hakli",
  21. ]
  22. ),
  23. author_email="security@jazzband.co",
  24. maintainer="Jazzband",
  25. maintainer_email="security@jazzband.co",
  26. url="https://github.com/jazzband/django-axes",
  27. project_urls={
  28. "Documentation": "https://django-axes.readthedocs.io/",
  29. "Source": "https://github.com/jazzband/django-axes",
  30. "Tracker": "https://github.com/jazzband/django-axes/issues",
  31. },
  32. license="MIT",
  33. package_dir={"axes": "axes"},
  34. use_scm_version=True,
  35. setup_requires=["setuptools_scm"],
  36. python_requires="~=3.6",
  37. install_requires=["django>=2.2", "django-ipware>=3,<4"],
  38. include_package_data=True,
  39. packages=find_packages(exclude=["tests"]),
  40. classifiers=[
  41. "Development Status :: 5 - Production/Stable",
  42. "Environment :: Web Environment",
  43. "Environment :: Plugins",
  44. "Framework :: Django",
  45. "Framework :: Django :: 2.2",
  46. "Framework :: Django :: 3.0",
  47. "Framework :: Django :: 3.1",
  48. "Intended Audience :: Developers",
  49. "Intended Audience :: System Administrators",
  50. "License :: OSI Approved :: MIT License",
  51. "Operating System :: OS Independent",
  52. "Programming Language :: Python",
  53. "Programming Language :: Python :: 3",
  54. "Programming Language :: Python :: 3.6",
  55. "Programming Language :: Python :: 3.7",
  56. "Programming Language :: Python :: 3.8",
  57. "Programming Language :: Python :: 3.9",
  58. "Programming Language :: Python :: Implementation :: CPython",
  59. "Programming Language :: Python :: Implementation :: PyPy",
  60. "Topic :: Internet :: Log Analysis",
  61. "Topic :: Security",
  62. "Topic :: System :: Logging",
  63. ],
  64. zip_safe=False,
  65. )