Re: [Distutils] PyPi upload fails with TypeError

2016-06-02 Thread Luí­s de Sousa via Distutils-SIG
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

Re: [Distutils] PyPi upload fails with TypeError

2016-06-02 Thread Ian Cordasco
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:

Re: [Distutils] PyPi upload fails with TypeError

2016-06-02 Thread Luí­s de Sousa via Distutils-SIG
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

Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Chris Jerdonek
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

Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Ian Cordasco
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 --

Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Luí­s de Sousa via Distutils-SIG
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-24 Thread Luí­s de Sousa via Distutils-SIG
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-24 Thread Ian Cordasco
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-20 Thread Ian Cordasco
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-20 Thread 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? M

Re: [Distutils] PyPi upload fails with TypeError

2016-05-20 Thread Berker Peksağ
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-20 Thread Luí­s de Sousa via Distutils-SIG
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

Re: [Distutils] PyPi upload fails with TypeError

2016-05-20 Thread Tres Seaver
-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'

[Distutils] PyPi upload fails with TypeError

2016-05-20 Thread Luí­s de Sousa via Distutils-SIG
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