When running..
python setup.py sdist register upload
..I get the following output:
running register
We need to know who you
None of the changes to ~/.pypirc listed here worked for me.
This worked for me, with no changes to ~/.pypirc. I added "-r https://www.python.org/pypi" to the command line:
python setup.py register sdist upload -r https://www.python.org/pypi
My ~/.pypirc looks like this
[distutils]
index-servers: pypi
[pypi]
username: dlink
password: ******** (the real one)