commit | d7ce826426230a90d7086a079f9095630e2f5cf1 | [log] [tgz] |
---|---|---|
author | Jon Dufresne <jon.dufresne@gmail.com> | Thu Sep 06 18:07:03 2018 -0700 |
committer | Jon Dufresne <jon.dufresne@gmail.com> | Thu Sep 06 18:07:03 2018 -0700 |
tree | 25ffaa552b347a233cfa8291c4b2c62320ae60c1 | |
parent | 763c7de7fa125e760ebe16882de4f084e1cb20a7 [diff] |
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.