Skip to content
Myr

Pass python_requires argument to setuptools

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Helps pip decide what version of the library to install. https://packaging.python.org/tutorials/distributing-packages/#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.

authored by Jon Dufresne · committed by Jon Dufresne · parent b9d8e00 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:setup.py+1 added
70 unmodified lines
71 packages=packages,72 package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},73 package_dir={'requests': 'requests'},74 include_package_data=True,75 python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",76 install_requires=requires,77 license=about['__license__'],78 zip_safe=False,79 classifiers=(
23 unmodified lines