I have an internal Python package which I install for tox
with
pip install git+ssh://git@bitbucket.org/org/repo.git
This works.
What does not work is to install the extra server
.
What I tried
pip install git+ssh://git@bitbucket.org/org/repo.git[server]`
git clone failed with error code 128 (couldn't clone)
pip install git+ssh://git@bitbucket.org/org/repo.git [server]
Cloning works, Invalid requirement: '[server]'
(a parsing exception
pip install -e git+ssh://git@bitbucket.org/org/repo#egg=repo[server]
Could not detect requirement name for 'git+ssh://git@bitbucket.org/org/repo.git', please specify one with #egg=your_package_name
I think I might be affected by this bug: How can I install extras with `pip install git+ssh`?
My (simplified) tox.ini
:
[tox]
skipsdist = True
envlist = begin,py35,py36,end
[testenv]
commands =
pip install -e git+ssh://git@bitbucket.org/org/repo#egg=repo[server]