1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/pip/_vendor
2015-10-01 09:36:16 -04: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.11.5 2015-05-20 14:01:18 -04:00
colorama Merge pull request #2379 from dstufft/upgrade-colorama 2015-01-28 15:18:11 -05:00
distlib Upgrade to distlib 0.2.1 2015-07-15 17:01:14 -04:00
html5lib Upgrade html5lib to 1.0b5 2015-05-08 17:24:58 -04:00
lockfile Upgrade lockfile to 0.10.2 2014-12-17 21:50:09 -05:00
packaging Upgrade packaging to 15.3 2015-08-01 20:11:25 -04:00
pkg_resources Upgrade setuptools to 18.0 2015-06-23 19:00:35 -04:00
progress Drop support for Python 3.2 2015-10-01 09:36:16 -04:00
requests Upgrade requests to 2.7.0 2015-05-08 17:26:18 -04:00
__init__.py Do a (slightly) less insane thing to handle debundling 2015-06-23 22:27:47 -04:00
ipaddress.py Upgrade ipaddress to 1.0.14 2015-08-20 16:33:10 -04:00
Makefile remove dist-info files as well 2014-09-10 12:22:32 -07: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 Drop support for Python 3.2 2015-10-01 09:36:16 -04:00
retrying.py Merge pull request #2397 from pfmoore/retry_rmtree 2015-02-04 20:47:05 -05:00
six.py Merge pull request #2376 from dstufft/upgrade-six 2015-01-28 14:26:06 -05:00
vendor.txt Drop support for Python 3.2 2015-10-01 09:36:16 -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


_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.