python - How to install package via pip requirements.txt from VCS into current directory? -


for example, have project foo dependency bar (that in private git repo) , want install bar foo directory via pip requirements.txt.

we can manually install bar console command:

pip install --target=. git+ssh://git.repo/some_pkg.git#egg=somepackage

but how install bar current directory requirements.txt?

the best way clone repository, or donwload requirements.txt file, , run pip install -r requirements.txt install modules dependencies.


Comments