1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/pip/_vendor
2015-03-05 18:32:16 -05:00
..
_markerlib Vendor pkg_resources and _markerlib from setuptools 2.0.2 2014-01-07 04:40:32 -05:00
cachecontrol Merge pull request #2377 from dstufft/upgrade-cachecontrol 2015-01-28 14:41:43 -05:00
colorama Merge pull request #2379 from dstufft/upgrade-colorama 2015-01-28 15:18:11 -05:00
distlib Upgrade distlib to 0.2.0 2014-12-17 15:02:55 -05:00
html5lib Upgrade html5lib to 0.999 2014-09-11 08:52:45 -04:00
lockfile Upgrade lockfile to 0.10.2 2014-12-17 21:50:09 -05:00
packaging Merge pull request #2301 from dstufft/upgrade-setuptools 2015-01-03 01:07:46 -05:00
pkg_resources Merge pull request #2301 from dstufft/upgrade-setuptools 2015-01-03 01:07:46 -05:00
progress Vendor progress 1.2 to handle the progress bars in pip 2014-09-10 08:50:35 -04:00
requests Upgrade requests to 2.5.3 2015-03-02 12:07:00 -08:00
__init__.py Restrict VendorAliases to vendored packages 2015-02-28 23:13:50 -06:00
ipaddress.py Deprecate accessing non secure origins by default 2014-12-10 16:35:54 -05: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 Merge pull request #2301 from dstufft/upgrade-setuptools 2015-01-03 01:07:46 -05: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 Upgrade requests to 2.5.3 2015-03-02 12:07:00 -08: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 11.0


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.