[Distutils] PyPi upload fails with TypeError

Berker Peksağ berker.peksag at gmail.com
Fri May 20 14:12:01 EDT 2016


On Fri, May 20, 2016 at 9:00 PM, Luí­s de Sousa
<distutils-sig at python.org> 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 ?

--Berker


More information about the Distutils-SIG mailing list