setup: update python_requires to comply with PEP 345/440

According to PEP 345 Requires-Python
(https://www.python.org/dev/peps/pep-0345/#requires-python), the value
of this field must be a valid Version Specifier
(https://www.python.org/dev/peps/pep-0345/#version-specifiers). Which
in turn expects this to comply with PEP 440
(https://www.python.org/dev/peps/pep-0440/).

While not an issue for those that directly use `pip`, this will cause
issues for `poetry` users in the next release (if their current stance
is maintained). Discussion of the issue and there stance can be found
here: https://github.com/python-poetry/poetry/issues/4095.
This commit is contained in:
Kyle Finley 2021-06-10 10:16:22 -04:00 committed by GitHub
parent 85ccd625a3
commit 43744902e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ project_urls =
[options]
packages = find:
python_requires = >=3.5.*
python_requires = >=3.5
include_package_data = True
install_requires =