pytest-dev / unittest2pytest

helps rewriting Python `unittest` test-cases into `pytest` test-cases
GNU General Public License v3.0
128 stars 27 forks source link

Document supported Python versions through trove classifiers #27

Closed jdufresne closed 5 years ago

jdufresne commented 5 years ago

Also pass python_requires argument to setuptools to help pip decide what version of the package to install.

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.

htgoebel commented 5 years ago

Thansk for this pull-request.