bpo-42856: Add --with-wheel-pkg-dir=PATH configure option by vstinner · Pull Request #24210 · python/cpython

Conversation

@vstinner

@xavfernandez

@hroncok

Add --with-wheel-pkg-dir=PATH option to the ./configure script. If
specified, the ensurepip module looks for setuptools and pip wheel
packages in this directory: if both are present, these wheel packages
are used instead of ensurepip bundled wheel packages.

Some Linux distribution packaging policies recommend against bundling
dependencies. For example, Fedora installs wheel packages in the
/usr/share/python-wheels/ directory and don't install the
ensurepip._bundled package.

ensurepip: Remove unused runpy import.

@vstinner vstinner merged commit 75e59a9 into python:master

Jan 20, 2021

11 checks passed

Check if generated files are up to date

Details

Azure Pipelines PR #20210120.37 succeeded

Details

Travis CI - Pull Request Build Passed

Details

bedevere/issue-number Issue number 42856 found

Details

bedevere/news News entry found in Misc/NEWS.d

@vstinner vstinner deleted the vstinner:ensurepip_dir2 branch

Jan 20, 2021