How to install package via pip requirements.txt from VCS into current directory?
<p>For example, we have project <code>Foo</code> with dependency <code>Bar</code> (that in private Git repo) and we want install <code>Bar</code> into <code>Foo</code> directory via <code>pip</code> from <code>requirements.txt</code>. </p>

<p>We can manually install <code>Bar</code> with console command:</p>

<p><code>pip install --target=. git+ssh://git.repo/some_pkg.git#egg=SomePackage</code></p>

<p>But how to install <code>Bar</code> into current directory from <code>requirements.txt</code>? </p>

<p>The best way to do this would be to clone the repository, or just donwload the <code>requirements.txt</code> file, and then run <code>pip install -r requirements.txt</code> to install all the modules dependencies. </p>

python git pip