Explicitly state that pip/_vendor/vendor.txt should be available

This commit is contained in:
Xavier Fernandez 2020-10-30 22:29:25 +01:00
parent cdc5422ed5
commit 4ba4e21419
2 changed files with 3 additions and 1 deletions

2
news/8327.vendor.rst Normal file
View File

@ -0,0 +1,2 @@
Fix devendoring instructions to explicitly state that ``vendor.txt`` should not be removed.
It is mandatory for ``pip debug`` command.

View File

@ -132,7 +132,7 @@ semi-supported method (that we don't test in our CI) and requires a bit of
extra work on your end in order to solve the problems described above.
1. Delete everything in ``pip/_vendor/`` **except** for
``pip/_vendor/__init__.py``.
``pip/_vendor/__init__.py`` and ``pip/_vendor/vendor.txt``.
2. Generate wheels for each of pip's dependencies (and any of their
dependencies) using your patched copies of these libraries. These must be
placed somewhere on the filesystem that pip can access (``pip/_vendor`` is