What should I add to the requirements file for pip to select the correct git branch?

I saw the -e option that I can use to ask pip to download specific packages from github. However, the master branch seems to be loading. Is there any way to pick another branch?

+4
source share
1 answer

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

-e git://git.myproject.org/ MyProject.git@master #egg=MyProject 
+8
source

Source: https://habr.com/ru/post/1400734/


All Articles