1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Document that using overrides disables all wheels

Update documentation to state that using command line options on any
requirements will disable all usage of wheels. Since this is unexpected
behavior, move text to a warning.
This commit is contained in:
Martey Dodoo 2021-03-01 14:19:30 -05:00
parent 8ea265186a
commit 820c4f45bb
2 changed files with 6 additions and 2 deletions

View file

@ -205,8 +205,11 @@ Per-requirement Overrides
-------------------------
Since version 7.0 pip supports controlling the command line options given to
``setup.py`` via requirements files. This disables the use of wheels (cached or
otherwise) for that package, as ``setup.py`` does not exist for wheels.
``setup.py`` via requirements files.
.. warning::
This disables the use of wheels (cached or otherwise).
The ``--global-option`` and ``--install-option`` options are used to pass
options to ``setup.py``. For example:

1
news/9674.doc.rst Normal file
View file

@ -0,0 +1 @@
Clarify that using per-requirement overrides disables the usage of wheels.