title: Use a local package index before PyPi
body: <p>Is there a way to make <code>pip</code> look at a local package repository <em>first</em> (i.e. before it looks in PyPi)?</p>
  
  <p>I have a local package named <code>pydxl</code> (a package for working with IBM DOORS DXL scripts). Previously I could install with</p>
  
  <pre><code>pip install -f //my/local/repo pydxl
  </code></pre>
  
  <p>Which was fine. As of a few days ago there is a package on PyPi that has the same name! So the above command installs that package by default.
  Ok, so if I use</p>
  
  <pre><code>pip install --no-index -f //my/local/repo pydxl
  </code></pre>
  
  <p>that gets <strong>my</strong> package, but now does not install the dependencies (such as Jinja) from PyPi.</p>
  
  <p>What I would like is something like "look at my local index FIRST, and then look at PyPI". Is this ordering possible?</p>