title: Nexus repository manager as pip local server not working properly
body: <p>A local nexus server has been setup as our pip local server.
  I'm trying to install a sample/test class (inherits) using the said local server.
  Uploading to the local server is successful, but installing using this command:</p>
  
  <pre><code>pip install -i http://&lt;nexus-ip&gt;:8081/repository/pypi-all/pypi inherits
  </code></pre>
  
  <p>Resulted to this:</p>
  
  <pre><code>  Could not find a version that satisfies the requirement inherits 
    (from versions: )
    No matching distribution found for inherits
  </code></pre>
  
  <p>I also tried these commands, but the results are the same:</p>
  
  <pre><code>pip install inherits
  pip install -i http://&lt;nexus-ip&gt;:8081/repository/pypi-all/pypi inherits-0.1
  pip install -i http://&lt;nexus-ip&gt;:8081/repository/pypi-all/pypi inherits==0.1
  </code></pre>
  
  <p>Here're the contents of my ~/.pypirc:</p>
  
  <pre><code>[distutils]
  index-servers =
      nexus
      pypi
  
  [nexus]
  username: my-username
  password: mypassword
  repository: http://&lt;nexus-ip&gt;:8081/nexus/repository/pypi-internal/
  
  [pypi]
  ...
  </code></pre>
  
  <p>Here're the contents my ~/.config/pip/pip.conf</p>
  
  <pre><code>[global]
  index = http://&lt;nexus-ip&gt;:8081/repository/pypi-all/pypi
  index-url = http://&lt;nexus-ip&gt;:8081/repository/pypi-all/simple
  </code></pre>
  
  <p>As mentioned, uploading using below command is successful:</p>
  
  <pre><code>python setup.py sdist upload -r nexus
  </code></pre>
  
  <p>Response from the nexus server is here (i.e. signifies upload was successfull):</p>
  
  <pre><code>creating inherits-0.1
  creating inherits-0.1/inherits
  creating inherits-0.1/inherits.egg-info
  copying files to inherits-0.1...
  copying setup.cfg -&gt; inherits-0.1
  copying setup.py -&gt; inherits-0.1
  copying inherits/__init__.py -&gt; inherits-0.1/inherits
  copying inherits/addmult.py -&gt; inherits-0.1/inherits
  copying inherits/inherits.py -&gt; inherits-0.1/inherits
  copying inherits/subdiv.py -&gt; inherits-0.1/inherits
  copying inherits.egg-info/PKG-INFO -&gt; inherits-0.1/inherits.egg-info
  copying inherits.egg-info/SOURCES.txt -&gt; inherits-0.1/inherits.egg-info
  copying inherits.egg-info/dependency_links.txt -&gt; inherits-0.1/inherits.egg-info
  copying inherits.egg-info/top_level.txt -&gt; inherits-0.1/inherits.egg-info
  Writing inherits-0.1/setup.cfg
  Creating tar archive
  removing 'inherits-0.1' (and everything under it)
  running upload
  Submitting dist/inherits-0.1.tar.gz to http://&lt;nexus-ip&gt;:8081/nexus/repository/pypi-internal/
  Server response (200): OK
  </code></pre>
  
  <p>Contents of the setup.py are the basic details:</p>
  
  <pre><code>#!/usr/bin/env python
  
  import os
  import sys
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  requires = []
  
  setup( 
      name = "inherits",
      packages = ["inherits"],
      version = '0.1',
      description = 'Example inherits package',
      #url = "",
      #download_url = "",
      author = "Jayson Pryde",
      classifiers = [],
  )
  </code></pre>
  
  <p>Any ideas on how to resolve this and make the pip install work? Thanks in advance!</p>