title: Private PyPI containing package with same name
body: <p>I am setting up my own PyPI containing some private packages. The problem is that some of the private packages have the same name as existing packages in PyPI.</p>
  
  <p>The private packages with same name do not necessarily have higher version number than the existing packages in PyPI, therefore when I do <code>pip install --extra-index-url &lt;Private_PyPI_URL&gt;</code>, pip will automatically download the packages with higher version number which may not be the one from my private repository.</p>
  
  <p>How can I make <code>pip install</code> check PyPI for packages only if it fails to find the package from the private repository?</p>
  
  <p>Note also that the private packages can sometimes be specified as the dependencies of other private packages as well.</p>