mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
.. | ||
_markerlib | ||
cachecontrol | ||
colorama | ||
distlib | ||
html5lib | ||
lockfile | ||
packaging | ||
pkg_resources | ||
progress | ||
requests | ||
__init__.py | ||
ipaddress.py | ||
Makefile | ||
re-vendor.py | ||
README.rst | ||
retrying.py | ||
six.py | ||
vendor.txt |
Policy ====== Vendored libraries should not be modified except as required to actually successfully vendor them. Modifications ============= * html5lib has been modified to import six from pip._vendor * pkg_resources has been modified to import _markerlib from pip._vendor * markerlib has been modified to import its API from pip._vendor * CacheControl has been modified to import it's dependencies from pip._vendor _markerlib and pkg_resources ============================ _markerlib and pkg_resources has been pulled in from setuptools 18.2 Note to Downstream Distributors =============================== Libraries are vendored/bundled inside of this directory in order to prevent 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 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.