pip install from git repo branch

前端 未结 6 2346
醉酒成梦
醉酒成梦 2020-11-22 02:58

Trying to pip install a repo\'s specific branch. Google tells me to

pip install git+https://github.com/user/repo.git@branch

The

6条回答
  •  佛祖请我去吃肉
    2020-11-22 03:36

    Just to add an extra, if you want to install it in your pip file it can be added like this:

    -e git+https://github.com/tangentlabs/django-oscar-paypal.git@issue/34/oscar-0.6#egg=django-oscar-paypal
    

    It will be saved as an egg though.

提交回复
热议问题