Hi everyone,
I got it working (sort of) on Ubuntu 14.04. I had pip installed from the Ubuntu
repositories and that package marks as dependencies a number of other packages
that are largely outdated. Apparently, these outdated packages (e.g. requests)
where embroiling twine.
The first step was
ank you,
>
> Luís
>
> *Sent from ProtonMail <https://protonmail.ch>, encrypted email based in
> Switzerland.*
>
>
> ---- Original Message ----
> Subject: Re: [Distutils] PyPi upload fails with TypeError
> Local Time: June 1, 2016 10:03 PM
> UTC Time:
Yes Chris, that is correct. But note that I am using the sdist option both with
setuptools and twine.
Thank you,
Luís
Sent from [ProtonMail](https://protonmail.ch), encrypted email based in
Switzerland.
Original Message
Subject: Re: [Distutils] PyPi upload fails with
s
>
>
>
> Sent from ProtonMail, encrypted email based in Switzerland.
>
>
> ---- Original Message
> Subject: Re: [Distutils] PyPi upload fails with TypeError
> Local Time: 24 May 2016 8:16 PM
> UTC Time: 24 May 2016 18:16
> From: graffatcolmin...@gmail.co
oot root 176 Jun 1 19:04 .
> drwxrwxrwx 1 root root 4096 Jun 1 19:04 ..
> -rwxrwxrwx 1 root root 6091 Jun 1 19:04 hex-utils-0.2.tar.gz
>
>
>
> *Sent from ProtonMail <https://protonmail.ch>, encrypted email based in
> Switzerland.*
>
>
> Original Message --
ar.gz
Sent from [ProtonMail](https://protonmail.ch), encrypted email based in
Switzerland.
Original Message
Subject: Re: [Distutils] PyPi upload fails with TypeError
Local Time: 24 May 2016 8:16 PM
UTC Time: 24 May 2016 18:16
From: graffatcolmin...@gmail.com
To: luis.de
oolsRequirement already satisfied (use --upgrade to
upgrade): setuptools in /usr/lib/python2.7/dist-packages
$ dpkg -l | grep setuptools
ii python-setuptools 20.7.0-1 all Python Distutils Enhancements
Original Message
Subject: Re: [Distutils] PyPi upload fails with TypeError
Loc
ine 19, in
> import setuptools
> ImportError: No module named 'setuptools'
>
> $ pip install setuptoolsRequirement already satisfied (use --upgrade to
> upgrade): setuptools in /usr/lib/python2.7/dist-packages
>
> $ dpkg -l | grep setuptools
> ii python-set
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
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? M
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 .p
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?
Thank you,
Luís___
Distutils-SIG mai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/20/2016 10:57 AM, Luís de Sousa via Distutils-SIG wrote:
> File "/usr/lib/python3.4/distutils/command/upload.py", line 139, in
> upload_file user_pass = (self.username + ":" +
> self.password).encode('ascii') TypeError: Can't convert 'NoneType'
Dear all,
I am trying to upload a new package to PyPi with this command:
$ python3 setup.py sdist upload
The process seems to go on well until the running upload bit, at which point I
get this exception:
Traceback (most recent call last):
File "setup.py", line 33, in
"Topic :: Scientific/Engi
14 matches
Mail list logo