summaryrefslogtreecommitdiff
path: root/pip/_vendor/README.rst
blob: 0fc983d92b90d6062903dec425432c03823dbc6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 it's API from pip._vendor


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

Markerlib and pkg_resources has been pulled in from setuptools 2.1


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 remove
``pip._vendor.*`` you'll also need to update the import statements that import
these packages.