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

env._find_executable_and_scripts(): Prefer the venv installation scheme if it exists #434

Merged
merged 3 commits into from Mar 18, 2022

Commits on Jan 31, 2022

  1. env._find_executable_and_scripts(): Prefer the venv installation sche…

    …me if it exists
    
    Python distributors with custom default installation scheme can set a
    scheme that can't be used to expand the paths in a venv.
    This can happen if build itself is not installed in a venv.
    The distributors are encouraged to set a "venv" scheme to be used for this.
    See https://bugs.python.org/issue45413
    and pypa/virtualenv#2208
    
    Since Python that ships with the macOS developer tools does not have the "venv"
    scheme yet, we keep the special case below. Once it gains the "venv" scheme,
    it will be preferred.
    
    Fixes pypa#433
    hroncok committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    211bd2f View commit details
    Browse the repository at this point in the history
  2. Save and reuse sysconfig.get_scheme_names()

    Co-authored-by: layday <layday@protonmail.com>
    hroncok and layday committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    3c08a32 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Configuration menu
    Copy the full SHA
    512f1fb View commit details
    Browse the repository at this point in the history