Add 'python_requires' key to setup.py (#1701)
This key is important so that `pip` doesn't try to install `sanic` in unsupported Python versions: https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
This commit is contained in:
parent
be0d539746
commit
fcdc9c83c5
1
setup.py
1
setup.py
|
@ -60,6 +60,7 @@ setup_kwargs = {
|
||||||
"long_description": long_description,
|
"long_description": long_description,
|
||||||
"packages": ["sanic"],
|
"packages": ["sanic"],
|
||||||
"platforms": "any",
|
"platforms": "any",
|
||||||
|
"python_requires": ">=3.6",
|
||||||
"classifiers": [
|
"classifiers": [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Web Environment",
|
"Environment :: Web Environment",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user