title: Can't upload to PyPi with Twine
body: <p>I'm trying to upload a python package to PyPi, using the following commands:</p>
  
  <pre><code>pip install -e .
  python setup.py bdist_wheel --universal
  twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: <a href="https://upload.pypi.org/legacy/" rel="noreferrer">https://upload.pypi.org/legacy/</a></p>
  </blockquote>
  
  <p>I've also tried the following commands:</p>
  
  <pre><code>twine upload dist/*
  twine upload --repository-url pypi dist/*
  twine upload --repository-url https://upload.pypi.org/legacy dist/*
  python setup.py bdist_wheel --universal upload
  </code></pre>
  
  <p>with a .pypirc file located in the same directory I'm running the commands from which is:</p>
  
  <pre><code>[distutils]
  index-servers =
      pypi
      pypitest
  
  [pypitest]
  repository: https://testpypi.python.org/pypi/
  username: &lt;username&gt;
  password: &lt;password&gt;
  
  [pypi]
  repository: https://upload.pypi.org/legacy/
  username: &lt;username&gt;
  password: &lt;password&gt;
  </code></pre>
  
  <p>But I'm still asked for my password.
  (Also tried this using pypitest, after creating an account on there too, but get the same error)</p>
  
  <p>I've also tried doing the same but with the repository line removed. </p>
  
  <p>The package name I'm trying to upload used to be occupied, but it has been removed now - <a href="https://pypi.python.org/pypi?name=yotI&amp;version=1.0.0&amp;:action=display" rel="noreferrer">https://pypi.python.org/pypi?name=&amp;version=1.0.0&amp;:action=display</a> says that the package is not found</p>
  
  <p>The username and password I'm using are the same I use to successfully log in to <a href="https://pypi.python.org/pypi?%3Aaction=login_form" rel="noreferrer">https://pypi.python.org/pypi?%3Aaction=login_form</a></p>