title: Not able to upload package in https://upload.pypi.org/legacy/
body: <p>I have gone through already available answers in SO but nothing seems working for me. </p>
  
  <p>I am following python commands to upload my package(Note: I am a new user and have registered the account with username and password):</p>
  
  <p><strong>Create setup.py:</strong></p>
  
  <pre><code>from setuptools import setup
  
  setup(
      name='',  # This is the name of your PyPI-package.
      version='0.1',  # Update the version number for new releases
      scripts=['']  # The name of your script, and also the command you'll be using for calling it
  )
  </code></pre>
  
  <p><strong>Package the script:</strong> </p>
  
  <pre><code>python setup.py sdist
  </code></pre>
  
  <p><strong>Register the account:</strong></p>
  
  <pre><code>python setup.py register
  </code></pre>
  
  <p>This prompted me below message(I choose 2nd as I am new user):</p>
  
  <pre><code>1. use your existing login,
  2. register as a new user,
  3. have the server generate a new password for you (and email it to you), or
  4. quit
  Your selection [default 1]:
  </code></pre>
  
  <p><strong>Upload the package:</strong></p>
  
  <pre><code>python setup.py sdist upload
  </code></pre>
  
  <p><strong>After trying steps I got the error while uploading:</strong></p>
  
  <pre><code>Upload failed (403): Invalid or non-existent authentication information.
  error: Upload failed (403): Invalid or non-existent authentication information.
  </code></pre>