1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Update the bundling documentations

This commit is contained in:
Donald Stufft 2014-11-20 07:01:26 -05:00
parent 86bad49818
commit 762f831bbe

View file

@ -29,6 +29,12 @@ end users from needing to manually install packages if they accidently remove
something that pip depends on.
All bundled packages exist in the ``pip._vendor`` namespace, and the versions
(fetched from PyPI) that we use are located in vendor.txt. If you remove
``pip._vendor.*`` you'll also need to update the import statements that import
these packages.
(fetched from PyPI) that we use are located in ``vendor.txt``. If you wish
to debundle these you can do so by either deleting everything in
``pip/_vendor`` **except** for ``pip/_vendor/__init__.py`` or by running
``PIP_NO_VENDOR_FOR_DOWNSTREAM=1 setup.py install``. No other changes should
be required as the ``pip/_vendor/__init__.py`` file will alias the "real"
names (such as ``import six``) to the bundled names (such as
``import pip._vendor.six``) automatically. Alternatively if you delete the
entire ``pip._vendor`` you will need to adjust imports that import from those
locations.