]> git.ipfire.org Git - thirdparty/jinja.git/commit
Pass python_requires argument to setuptools 797/head
authorJon Dufresne <jon.dufresne@gmail.com>
Thu, 11 Jan 2018 13:55:37 +0000 (05:55 -0800)
committerJon Dufresne <jon.dufresne@gmail.com>
Thu, 30 Aug 2018 03:25:02 +0000 (20:25 -0700)
commitccac9402fc32a92c38a18ce1a1c667171d23881f
tree188f12e5ba21ed1889b8c32425816d9504848923
parentb9932a0e5b0c25bdb2d94d504ea4ced884ed075b
Pass python_requires argument to setuptools

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.
setup.py