mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
2912910b44
Previously we attempt to do some crazy things with import hooks in order to attempt to automatically alias normally installed dependencies as our vendored dependencies. This turned out to be fairly fragile, so instead we'll manually patch sys.modules to trigger the aliasing. As part of this, we also drop support for the PIP_NO_VENDOR_FOR_DOWNSTREAM environment variable because it was never fully supported and now that we have wheel caching, actually using it could possibly trigger a bad wheel to be cached. The new mechanism requires some light patching by downstream to opt into the mechanism, so they can also easily remove all of the files in pip/_vendor/ except for __init__.py. |
||
---|---|---|
.. | ||
_vendor | ||
commands | ||
compat | ||
models | ||
operations | ||
req | ||
utils | ||
vcs | ||
__init__.py | ||
__main__.py | ||
basecommand.py | ||
baseparser.py | ||
cmdoptions.py | ||
download.py | ||
exceptions.py | ||
index.py | ||
locations.py | ||
pep425tags.py | ||
status_codes.py | ||
wheel.py |