1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/pip/_vendor
2014-11-20 07:53:57 -05:00
..
_markerlib Vendor pkg_resources and _markerlib from setuptools 2.0.2 2014-01-07 04:40:32 -05:00
cachecontrol Upgrade CacheControl to 0.10.4 2014-09-17 12:55:11 -04:00
certifi update requests to 2.4.1 and add certifi dependency 2014-09-10 12:22:24 -07:00
colorama Upgrade colorama to 0.3.2 2014-09-11 08:46:00 -04:00
distlib Re-vendor distlib 2014-05-28 22:41:07 +01:00
html5lib Upgrade html5lib to 0.999 2014-09-11 08:52:45 -04:00
lockfile Bundle CacheControl and lockfile 2014-05-09 18:17:17 -04:00
progress Vendor progress 1.2 to handle the progress bars in pip 2014-09-10 08:50:35 -04:00
requests update requests to 2.4.1 and add certifi dependency 2014-09-10 12:22:24 -07:00
__init__.py Address Feedback from @ncoghlan 2014-11-20 07:53:57 -05:00
Makefile remove dist-info files as well 2014-09-10 12:22:32 -07:00
pkg_resources.py Upgrade setuptools to 5.4.2 2014-08-06 11:32:09 -04:00
re-vendor.py Rename pip.vendor.* to pip._vendor.* to ensure it's obviously private 2013-10-22 21:32:25 -04:00
README.rst Update the bundling documentations 2014-11-20 07:53:57 -05:00
six.py Upgrade six to 1.8.0 2014-09-11 18:25:52 -04:00
vendor.txt Upgrade CacheControl to 0.10.4 2014-09-17 12:55:11 -04:00

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
* progress has been modified to not use unicode literals for support for Python 3.2


Markerlib and pkg_resources
===========================

Markerlib and pkg_resources has been pulled in from setuptools 5.4.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.