Until then, try using twine (https://github.com/pypa/twine). You'll
have to make your sdist with `python setup.py sdist` and then upload
it with `twine upload dist/mypackage.sdist`. But twine will prompt you
when it can't find a credential for you instead of proceeding onward
nobly.
On Fri, May 20, 2016 at 1:18 PM, Berker Peksağ
On Fri, May 20, 2016 at 9:12 PM, Berker Peksağ
wrote: On Fri, May 20, 2016 at 9:00 PM, Luís de Sousa
wrote: The TypeError is about the *last* line in the traceback: One of `self.username' or 'self.password' is set to 'None'.
That being the case, how can I correct the bug? Must I upgrade setuptools? Or some other package?
Is there a .pypirc file in your $HOME directory? If there is one, can you compare its content with the example at https://docs.python.org/3/distutils/packageindex.html#pypirc ?
There is an open issue about this on bugs.python.org: http://bugs.python.org/issue18454
I will try to fix it at PyCon US sprints.
--Berker _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig