Skip to content

Commit

Permalink
Merge pull request #11560 from froli-code/10265-updated-documentation…
Browse files Browse the repository at this point in the history
…-install-options

Fixes #10265
  • Loading branch information
uranusjr committed Nov 11, 2022
2 parents 1b9cc0f + 4604106 commit 72a5b08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions news/10265.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the description of the option "--install-options" in the documentation
8 changes: 3 additions & 5 deletions src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,11 +825,9 @@ def _handle_config_settings(
dest="install_options",
action="append",
metavar="options",
help="Extra arguments to be supplied to the setup.py install "
'command (use like --install-option="--install-scripts=/usr/local/'
'bin"). Use multiple --install-option options to pass multiple '
"options to setup.py install. If you are using an option with a "
"directory path, be sure to use absolute path.",
help="This option is deprecated. Using this option with location-changing "
"options may cause unexpected behavior. "
"Use pip-level options like --user, --prefix, --root, and --target.",
)

build_options: Callable[..., Option] = partial(
Expand Down

0 comments on commit 72a5b08

Please sign in to comment.