setup.py 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from __future__ import unicode_literals
  4. import codecs
  5. from setuptools import setup, find_packages
  6. from axes import get_version
  7. setup(
  8. name='django-axes',
  9. version=get_version(),
  10. description='Keep track of failed login attempts in Django-powered sites.',
  11. long_description=(
  12. codecs.open('README.rst', encoding='utf-8').read() + '\n' +
  13. codecs.open('CHANGES.txt', encoding='utf-8').read()),
  14. keywords='authentication django pci security'.split(),
  15. author='Josh VanderLinden, Philip Neustrom, Michael Blume, Camilo Nova',
  16. author_email='codekoala@gmail.com',
  17. maintainer='Alex Clark',
  18. maintainer_email='aclark@aclark.net',
  19. url='https://github.com/jazzband/django-axes',
  20. license='MIT',
  21. package_dir={'axes': 'axes'},
  22. install_requires=[
  23. 'pytz',
  24. 'django',
  25. 'django-appconf',
  26. 'django-ipware>=2.0.2',
  27. 'win_inet_pton ; python_version < "3.4" and sys_platform == "win32"',
  28. ],
  29. include_package_data=True,
  30. packages=find_packages(),
  31. classifiers=[
  32. 'Development Status :: 5 - Production/Stable',
  33. 'Environment :: Web Environment',
  34. 'Framework :: Django',
  35. 'Framework :: Django :: 1.11',
  36. 'Framework :: Django :: 2.0',
  37. 'Framework :: Django :: 2.1',
  38. 'Intended Audience :: Developers',
  39. 'Intended Audience :: System Administrators',
  40. 'License :: OSI Approved :: MIT License',
  41. 'Operating System :: OS Independent',
  42. 'Programming Language :: Python',
  43. 'Programming Language :: Python :: 2',
  44. 'Programming Language :: Python :: 2.7',
  45. 'Programming Language :: Python :: 3',
  46. 'Programming Language :: Python :: 3.4',
  47. 'Programming Language :: Python :: 3.5',
  48. 'Programming Language :: Python :: 3.6',
  49. 'Programming Language :: Python :: 3.7',
  50. 'Topic :: Internet :: Log Analysis',
  51. 'Topic :: Security',
  52. 'Topic :: System :: Logging',
  53. ],
  54. zip_safe=False,
  55. )