Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass python_requires argument to setuptools #440

Merged
merged 1 commit into from
Sep 28, 2019
Merged

Pass python_requires argument to setuptools #440

merged 1 commit into from
Sep 28, 2019

Commits on Sep 28, 2019

  1. Pass python_requires argument to setuptools

    Helps pip decide what version of the library to install. This is
    especially useful when removing support for EOL Python versions.
    
    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.
    jdufresne committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    2ffa0e5 View commit details
    Browse the repository at this point in the history