avian2 / unidecode

ASCII transliterations of Unicode text - GitHub mirror
https://pypi.python.org/pypi/Unidecode
GNU General Public License v2.0
517 stars 62 forks source link

Pass python_requires argument to setuptools #37

Closed jdufresne closed 5 years ago

jdufresne commented 5 years ago

Helps pip decide what version of the library to install. Include this information in the README as well. These versions were already documented as trove classifiers.

https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires

If your project only runs on certain Python versions, setting the python_requires argument to the appropriate PEP 440 version specifier string will prevent pip from installing the project on other Python versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

python_requires

A string corresponding to a version specifier (as defined in PEP 440) for the Python version, used to specify the Requires-Python defined in PEP 345.