|
|
@ -23,9 +23,9 @@ import subprocess
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
from setuptools.command.test import test as TestCommand
|
|
|
|
from setuptools.command.test import test as TestCommand
|
|
|
|
|
|
|
|
|
|
|
|
# we only support Python 3 version >= 3.5.3
|
|
|
|
# we only support Python 3 version >= 3.7
|
|
|
|
if len(sys.argv) >= 2 and sys.argv[1] == "install" and sys.version_info < (3, 5, 3):
|
|
|
|
if len(sys.argv) >= 2 and sys.argv[1] == "install" and sys.version_info < (3, 7):
|
|
|
|
raise SystemExit("Python 3.5.3 or higher is required")
|
|
|
|
raise SystemExit("Python 3.7 or higher is required")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PyTest(TestCommand):
|
|
|
|
class PyTest(TestCommand):
|
|
|
@ -89,7 +89,7 @@ setup(
|
|
|
|
include_package_data=True,
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
zip_safe=False,
|
|
|
|
platforms="any",
|
|
|
|
platforms="any",
|
|
|
|
python_requires='>=3.6.0',
|
|
|
|
python_requires='>=3.7',
|
|
|
|
setup_requires=["setuptools>=17.1"],
|
|
|
|
setup_requires=["setuptools>=17.1"],
|
|
|
|
classifiers=[
|
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
@ -103,7 +103,6 @@ setup(
|
|
|
|
"Operating System :: Microsoft :: Windows",
|
|
|
|
"Operating System :: Microsoft :: Windows",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|