AppleGrew
AppleGrew

Reputation: 9584

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?

Upvotes: 4

Views: 1677

Answers (1)

Marius Grigaitis
Marius Grigaitis

Reputation: 2520

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

Upvotes: 8

Related Questions