pip does not respect --install-scripts (--install-option) when installing from git #5576
Labels
auto-locked
Outdated issues that have been locked by automation
C: vcs
pip's interaction with version control systems like git, svn and bzr
resolution: duplicate
Duplicate of an existing issue/PR
type: bug
A confirmed bug or unintended behavior
Environment
Description
When I am installing the package from git with
--install-scripts
option it is not respected by pip. Console scripts are installed into the default location:.venv/bin
Most likely, it is happening because wheels are not used when
--install-option
is supplied.Expected behavior
Console scripts should be installed in the directory specified by
--install-scripts
Use-case
The package I am installing has custom dependencies from Git -> I would prefer to install it in virtualenv, however I also want to expose console_scripts to the known folder in PATH.
How to Reproduce
pip install -v --install-option="--install-scripts=<directory>" git+https://github.com/benoitc/gunicorn.git#egg=gunicorn
Output
The text was updated successfully, but these errors were encountered: