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

Ignore python_requires when installing with distutils #410

Commits on May 28, 2020

  1. Ignore python_requires when installing with distutils

    When using python setup.py <command>, distutils.dist.Distribution
    does not recognize python_requires (unlike setuptools) and will
    issue an obnoxious warning that doesn't actually tell the user
    that their Python version is not supported.
    
    Note that this (might not be) the case with pip since it replaces
    distutils with setuptools, which does support it.
    
    The other possible solution would be to parse python_requires,
    but that requires a lot of work (see pip/_internals/utils/packaging.py)
    and is an example of the reason setuptools was made in the first place.
    bsolomon1124 committed May 28, 2020
    Configuration menu
    Copy the full SHA
    758a99f View commit details
    Browse the repository at this point in the history