snipt

Ctrl+h for KB shortcuts

Bash

PIP - GIT, HG, SVN

1
2
3
4
# install python modules from git, hg and svn using PIP
pip install git+http://hostname_or_ip/path/to/git-repo#egg=packagename
pip install hg+http://hostname_or_ip/path/to/hg-repo#egg=packagename
pip install svn+http://hostname_or_ip/path/to/svn-repo#egg=packagename
https://snipt.net/embed/d50ed7184ba804dda308c07838a95b1e/
/raw/d50ed7184ba804dda308c07838a95b1e/
d50ed7184ba804dda308c07838a95b1e
bash
Bash
4
2019-06-27T02:24:14
True
False
False
Aug 04, 2012 at 08:25 AM
/api/public/snipt/45138/
pip-git
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c1"># install python modules from git, hg and svn using PIP</span> </span><span id="L-2"><a name="L-2"></a>pip install git+http://hostname_or_ip/path/to/git-repo#egg<span class="o">=</span>packagename </span><span id="L-3"><a name="L-3"></a>pip install hg+http://hostname_or_ip/path/to/hg-repo#egg<span class="o">=</span>packagename </span><span id="L-4"><a name="L-4"></a>pip install svn+http://hostname_or_ip/path/to/svn-repo#egg<span class="o">=</span>packagename </span></pre></div> </td></tr></table>
git, hg, pip, python, svn