Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should I put in requirements file for pip to pick the correct git branch?

I have seen the -e option which I can use to ask pip to download specific packages from github. However it seems to download the master branch. Is there a way to pick up another branch?

like image 536
AppleGrew Avatar asked Feb 22 '23 04:02

AppleGrew


1 Answers

You can find documentation of requirements file here: http://www.pip-installer.org/en/latest/logic.html#git

-e git://git.myproject.org/MyProject.git@master#egg=MyProject
like image 107
Marius Grigaitis Avatar answered Mar 05 '23 18:03

Marius Grigaitis