-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test against Django 5.0, drop support Django <4.2 (#443)
* Test against Django 5.0, drop support Django <4.2 * setuptools
- Loading branch information
Showing
6 changed files
with
36 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ __pycache__/ | |
# Distribution / packaging | ||
.Python | ||
env/ | ||
venv/ | ||
bin/ | ||
build/ | ||
develop-eggs/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
|
||
|
||
class PyTest(TestCommand): | ||
|
||
def finalize_options(self): | ||
TestCommand.finalize_options(self) | ||
self.test_args = [] | ||
|
@@ -17,43 +16,41 @@ def finalize_options(self): | |
def run_tests(self): | ||
# import here, cause outside the eggs aren't loaded | ||
import pytest | ||
|
||
errno = pytest.main(self.test_args) | ||
sys.exit(errno) | ||
|
||
|
||
setup( | ||
name='django-registration-redux', | ||
version=get_version().replace(' ', '-'), | ||
description='An extensible user-registration application for Django', | ||
long_description=open('README.rst').read(), | ||
author='Andrew Cutler', | ||
author_email='[email protected]', | ||
url='https://github.com/macropin/django-registration', | ||
package_dir={'registration': 'registration'}, | ||
packages=find_packages(exclude='test_app'), | ||
tests_require=['pytest-django'], | ||
cmdclass={'test': PyTest}, | ||
name="django-registration-redux", | ||
version=get_version().replace(" ", "-"), | ||
description="An extensible user-registration application for Django", | ||
long_description=open("README.rst").read(), | ||
author="Andrew Cutler", | ||
author_email="[email protected]", | ||
url="https://github.com/macropin/django-registration", | ||
package_dir={"registration": "registration"}, | ||
packages=find_packages(exclude="test_app"), | ||
tests_require=["pytest-django"], | ||
cmdclass={"test": PyTest}, | ||
include_package_data=True, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Framework :: Django :: 3.1', | ||
'Framework :: Django :: 3.2', | ||
'Framework :: Django :: 4.0', | ||
'Framework :: Django :: 4.1', | ||
'Framework :: Django :: 4.2', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Utilities' | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Utilities", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
flake8 | ||
coveralls | ||
isort==4.3.21 | ||
setuptools | ||
tox | ||
invoke | ||
docutils | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters