Skip to content

Commit 72a5b08

Browse files
authored
Merge pull request #11560 from froli-code/10265-updated-documentation-install-options
Fixes #10265
2 parents 1b9cc0f + 4604106 commit 72a5b08

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

news/10265.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed the description of the option "--install-options" in the documentation

src/pip/_internal/cli/cmdoptions.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -825,11 +825,9 @@ def _handle_config_settings(
825825
dest="install_options",
826826
action="append",
827827
metavar="options",
828-
help="Extra arguments to be supplied to the setup.py install "
829-
'command (use like --install-option="--install-scripts=/usr/local/'
830-
'bin"). Use multiple --install-option options to pass multiple '
831-
"options to setup.py install. If you are using an option with a "
832-
"directory path, be sure to use absolute path.",
828+
help="This option is deprecated. Using this option with location-changing "
829+
"options may cause unexpected behavior. "
830+
"Use pip-level options like --user, --prefix, --root, and --target.",
833831
)
834832

835833
build_options: Callable[..., Option] = partial(

0 commit comments

Comments
 (0)