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

Merge pull request #8427 from deveshks/clarify-req-option-docs

Clarify global and per-requirement options in pip install docs
This commit is contained in:
Paul Moore 2020-06-11 11:34:27 +01:00 committed by GitHub
commit b62b29f762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -158,11 +158,16 @@ The following options are supported:
.. pip-requirements-file-options-ref-list::
For example, to specify :ref:`--no-index <install_--no-index>` and two
Please note that the above options are global options, and should be specified on their individual lines.
The options which can be applied to individual requirements are
:ref:`--install-option <install_--install-option>`, :ref:`--global-option <install_--global-option>` and ``--hash``.
For example, to specify :ref:`--pre <install_--pre>`, :ref:`--no-index <install_--no-index>` and two
:ref:`--find-links <install_--find-links>` locations:
::
--pre
--no-index
--find-links /my/local/archives
--find-links http://some.archives.com/archives