Skip to content

Documentation suggests removed --install-scripts flag #10265

@ndevenish

Description

@ndevenish

The documentation for --install-options (online at https://pip.pypa.io/en/latest/cli/pip_install/#cmdoption-install-option) gives the example of passing --install-scripts. Since #7309 this is now an invalid option. This example should be updated (and perhaps the current way to achieve this added).

Text comes from:

install_options: Callable[..., Option] = partial(
Option,
"--install-option",
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.",
)

A comment on the deprecation issue asked for this to be opened at: #7309 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA good item for first time contributors to work onstate: awaiting PRFeature discussed, PR is neededtype: docsDocumentation related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions