diff --git a/AUTHORS b/AUTHORS index f018a2d5..a4eb0079 100644 --- a/AUTHORS +++ b/AUTHORS @@ -6,6 +6,7 @@ Aaron Ross Adam Endicott Alex Stapleton +Alexandr Artemyev Alvaro Vega Andrew Frankel Andrew Watts diff --git a/setup.py b/setup.py index f9c72d9f..96d596f6 100644 --- a/setup.py +++ b/setup.py @@ -8,26 +8,9 @@ import setuptools import setuptools.command.test -try: - import platform - _pyimp = platform.python_implementation -except (AttributeError, ImportError): - def _pyimp(): - return 'Python' - NAME = 'django-celery-beat' PACKAGE = 'django_celery_beat' -E_UNSUPPORTED_PYTHON = f'{NAME} 1.0 requires %s %s or later!' - -PYIMP = _pyimp() -PY38_OR_LESS = sys.version_info < (3, 8) -PYPY_VERSION = getattr(sys, 'pypy_version_info', None) -PYPY24_ATLEAST = PYPY_VERSION and PYPY_VERSION >= (2, 4) - -if PY38_OR_LESS and not PYPY24_ATLEAST: - raise Exception(E_UNSUPPORTED_PYTHON % (PYIMP, '3.8')) - # -*- Classifiers -*- classes = """ @@ -148,6 +131,7 @@ def run_tests(self): url=meta['homepage'], platforms=['any'], license='BSD', + python_requires='>=3.8', install_requires=reqs('default.txt') + reqs('runtime.txt'), tests_require=reqs('test.txt') + reqs('test-django.txt'), cmdclass={'test': pytest},