Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If your build server can access the packages via git and you want to install using <code>requirements.txt</code>, you're in luck.</p> <h2>Installing Python Packages with git via requirements.txt</h2> <p>You can specify git based packages in <code>requirements.txt</code>. Just put them on separate lines as if they were another package:</p> <p><code> git+git://github.com/thadeusb/flask-cache.git </code></p> <p>You can even pin to a specific commit using <code>@</code>:</p> <p><code> git+git://github.com/thadeusb/flask-cache.git@40cfd9280dc66ea54df0961420fc94853d506a35 </code></p> <h3>Bonus Mode</h3> <p>If you want to pull from a repository in <a href="http://www.pip-installer.org/en/latest/usage.html#options" rel="nofollow">editable mode</a>, prepend a <code>-e</code>:</p> <p><code> -e git+git://github.com/thadeusb/flask-cache.git@40cfd9280dc66ea54df0961420fc94853d506a35#egg=Flask-Cache </code></p> <h2>Roll your own PyPI Server</h2> <p>Though you didn't ask for it specifically, you could also <a href="http://aboutsimon.com/2012/02/24/create-a-local-pypi-mirror/" rel="nofollow">roll your own Python Package Index</a>.</p> <p>Once you have it configured, you simply have to set the <code>index-url</code> to fetch packages from. You can do this directly:</p> <pre><code>pip install --index-url=http://pip.razer.domain/ -r requirements.txt </code></pre> <p>Or set up a config file <code>~/.pip/pip.conf</code>:</p> <pre><code>[global] index-url = http://pip.razer.domain/ </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload