[Distutils] PyPi upload fails with TypeError
Berker Peksağ
berker.peksag at gmail.com
Fri May 20 14:18:34 EDT 2016
On Fri, May 20, 2016 at 9:12 PM, Berker Peksağ <berker.peksag at gmail.com> wrote:
> 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 ?
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
More information about the Distutils-SIG
mailing list