mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Update and clean up setup.py
- Use Python 3 syntax for file reads - Use simpler keywords formatting - Add Aleksi Hakli to authors listing - Update maintainer to Jazzband - Add cleaner project_urls - Add Python 3.5+ version requirement Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
fd963f38c1
commit
5c2fa348ba
2 changed files with 22 additions and 9 deletions
|
|
@ -23,7 +23,7 @@ Changes
|
|||
- Clean up code, tests, and documentation.
|
||||
[aleksihakli]
|
||||
|
||||
- Drop support for Python 2.7 and Python 3.4.
|
||||
- Drop support for Python 2.7 and Python 3.4. Require Python 3.5+ from now on.
|
||||
[aleksihakli]
|
||||
|
||||
- Drop old single-argument signature format for ``AXES_USERNAME_CALLABLE``.
|
||||
|
|
|
|||
29
setup.py
29
setup.py
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import codecs
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
from axes import get_version
|
||||
|
|
@ -9,17 +8,31 @@ setup(
|
|||
name='django-axes',
|
||||
version=get_version(),
|
||||
description='Keep track of failed login attempts in Django-powered sites.',
|
||||
long_description=(
|
||||
codecs.open('README.rst', encoding='utf-8').read() + '\n' +
|
||||
codecs.open('CHANGES.txt', encoding='utf-8').read()),
|
||||
keywords='authentication django pci security'.split(),
|
||||
author='Josh VanderLinden, Philip Neustrom, Michael Blume, Camilo Nova',
|
||||
long_description='\n'.join([
|
||||
open('README.rst', encoding='utf-8').read(),
|
||||
open('CHANGES.txt', encoding='utf-8').read(),
|
||||
]),
|
||||
keywords='authentication django pci security',
|
||||
author=', '.join([
|
||||
'Josh VanderLinden',
|
||||
'Philip Neustrom',
|
||||
'Michael Blume',
|
||||
'Alex Clark',
|
||||
'Camilo Nova',
|
||||
'Aleksi Hakli',
|
||||
]),
|
||||
author_email='codekoala@gmail.com',
|
||||
maintainer='Alex Clark',
|
||||
maintainer_email='aclark@aclark.net',
|
||||
maintainer='Jazzband',
|
||||
maintainer_email='security@jazzband.co',
|
||||
url='https://github.com/jazzband/django-axes',
|
||||
project_urls={
|
||||
'Documentation': 'https://django-axes.readthedocs.io/',
|
||||
'Source': 'https://github.com/jazzband/django-axes',
|
||||
'Tracker': 'https://github.com/jazzband/django-axes/issues',
|
||||
},
|
||||
license='MIT',
|
||||
package_dir={'axes': 'axes'},
|
||||
python_requires='~=3.5',
|
||||
install_requires=[
|
||||
'pytz',
|
||||
'django',
|
||||
|
|
|
|||
Loading…
Reference in a new issue