8

when using:

pip install -e pip-package

how does one do the equivalent of:

pip install pip-package[all]==1.10.0

'[all]' being the extra feature I am trying to leverage.

Artemij Rodionov
  • 1,721
  • 1
  • 17
  • 22
sebastian
  • 2,008
  • 4
  • 31
  • 49
  • 1
    You can pass extras to editable install. Same as with the package: `pip install -e path/to/package/sources[all]` – hoefling Nov 03 '18 at 17:59

1 Answers1

8

Editable installs can only be performed from a local project or VCS, so you have to download a specific version of the package before.

git clone https://github.com/requests/requests.git
cd requests
git checkout tag_name
pip install -e '.[security]'

Install specific git commit with pip

“Editable” Installs docs

Artemij Rodionov
  • 1,721
  • 1
  • 17
  • 22