Skip to content

pip ignores --global-option and --install-options when installing from a VCS url #5518

@rainwoodman

Description

@rainwoodman

Environment

  • pip version: 10.0.1
  • Python version: 3.6.5
  • OS: Linux

Description
pip 10.0.1 ignores --install-options installing from git+git://

Likely related to

#5251

$ pip install --ignore-installed --no-deps --install-option="--prefix=/tmp/test-install" git+git://github.com/bccp/nbodykit

$ ls /tmp/test-install
ls: cannot access '/tmp/test-install': No such file or directory

However, installing from zip works:

$ pip install --ignore-installed --no-deps --install-option="--prefix=/tmp/test-install" http://github.com/bccp/nbodykit/archive/master.zip

$ ls /tmp/test-install
lib

Expected behavior
installing from VCS shall be no different than from a zip file.

How to Reproduce
See above.

Output

See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: vcspip's interaction with version control systems like git, svn and bzrauto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions