Does tox.ini need escaping for anchors in URLs (hash #)?

前端 未结 1 1526
长发绾君心
长发绾君心 2021-01-27 12:29

I have a tox.ini like this

[tox]
skipsdist = True
envlist = begin,py35,py36,end

[testenv]
commands =
    pip install -e git+ssh://git@bitbucket.org/org/repo#egg         


        
1条回答
  •  遥遥无期
    2021-01-27 13:14

    My guess was to try quoting the URL:

    [testenv]
    commands =
        pip install -e "git+ssh://git@bitbucket.org/org/repo#egg=repo[server]"
    

    and that seems to do the trick.

    0 讨论(0)
提交回复
热议问题