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 to remove the pip package:
$ sudo apt purge python-requests

Then download the pip install scirpt and run it:
$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python3 get-pip.py

Make sure pip is the latest version:
$ sudo pip install -U pip

Then the new package can be built:
$ python3 setup.py clean
$ python3 setup.py sdist bdist_wheel

And finally uploaded:
$ twine upload dist/* -u username -p password

The last command returns a 500 error, but the package is correctly uploaded to 
the PyPi repository.

Regards,

Luís___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-06-02 Thread Ian Cordasco
Source distributions are .tar.gz files. I don't know what sdist option
you're using with twine.
On Jun 2, 2016 12:47 AM, "Luí­s de Sousa" <luis.de.so...@protonmail.ch>
wrote:

> 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 TypeError
> Local Time: June 1, 2016 10:03 PM
> UTC Time: June 1, 2016 8:03 PM
> From: chris.jerdo...@gmail.com
> To: luis.de.so...@protonmail.ch
> CC: graffatcolmin...@gmail.com,Distutils-Sig@python.org
>
> It looks like you are telling it "dist/hex-utils-0.2.sdist" but the
> directory contains "hex-utils-0.2.tar.gz".
>
> --Chris
>
>
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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 TypeError
Local Time: June 1, 2016 10:03 PM
UTC Time: June 1, 2016 8:03 PM
From: chris.jerdo...@gmail.com
To: luis.de.so...@protonmail.ch
CC: graffatcolmin...@gmail.com,Distutils-Sig@python.org

It looks like you are telling it "dist/hex-utils-0.2.sdist" but the
directory contains "hex-utils-0.2.tar.gz".

--Chris___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Chris Jerdonek
On Wed, Jun 1, 2016 at 10:10 AM, Luí­s de Sousa
<distutils-sig@python.org> wrote:
> $ twine upload dist/hex-utils-0.2.sdist
> Uploading distributions to https://pypi.python.org/pypi
> ValueError: Cannot find file (or expand pattern): 'dist/hex-utils-0.2.sdist'
>
> $ ls -la dist
> total 12
> drwxrwxrwx 1 root 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

It looks like you are telling it "dist/hex-utils-0.2.sdist" but the
directory contains "hex-utils-0.2.tar.gz".

--Chris

>
>
>
> 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.com
> To: luis.de.so...@protonmail.ch
> CC: berker.pek...@gmail.com,Distutils-Sig@python.org
>
> Luis, it looks like you're running twine on Python 3 and setuptools is
> installed for Python 2. Try doing:
>
> python3 -m pip install setuptools
>
> or
>
> apt-get install -y python3-setuptools
>
>
>
>
> ___
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Ian Cordasco
There's a warning in your output. Is there anything in dist/ ?
On Jun 1, 2016 10:09 AM, "Luí­s de Sousa" <luis.de.so...@protonmail.ch>
wrote:

> Hi again Ian,
>
> Installing setuptools for python 3 dealt away with that error but the
> upload is still failing. I am not sure this is related to twine or not, but
> I'll leave here the log in any case, someone might suggest something.
>
> Thank you,
>
> Luís
>
> $ python3 setup.py sdist
> running sdist
> running egg_info
> creating hex_utils.egg-info
> writing hex_utils.egg-info/PKG-INFO
> writing top-level names to hex_utils.egg-info/top_level.txt
> writing dependency_links to hex_utils.egg-info/dependency_links.txt
> writing entry points to hex_utils.egg-info/entry_points.txt
> writing manifest file 'hex_utils.egg-info/SOURCES.txt'
> reading manifest file 'hex_utils.egg-info/SOURCES.txt'
> writing manifest file 'hex_utils.egg-info/SOURCES.txt'
> warning: sdist: standard file not found: should have one of README,
> README.rst, README.txt
>
> running check
> creating hex-utils-0.2
> creating hex-utils-0.2/hex_utils
> creating hex-utils-0.2/hex_utils.egg-info
> making hard links in hex-utils-0.2...
> hard linking setup.py -> hex-utils-0.2
> hard linking hex_utils/__init__.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/asc.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/asc2hasc.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/grid.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/hasc.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/hasc2gml.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils/surfaceSimple.py -> hex-utils-0.2/hex_utils
> hard linking hex_utils.egg-info/PKG-INFO ->
> hex-utils-0.2/hex_utils.egg-info
> hard linking hex_utils.egg-info/SOURCES.txt ->
> hex-utils-0.2/hex_utils.egg-info
> hard linking hex_utils.egg-info/dependency_links.txt ->
> hex-utils-0.2/hex_utils.egg-info
> hard linking hex_utils.egg-info/entry_points.txt ->
> hex-utils-0.2/hex_utils.egg-info
> hard linking hex_utils.egg-info/top_level.txt ->
> hex-utils-0.2/hex_utils.egg-info
> Writing hex-utils-0.2/setup.cfg
> creating dist
> Creating tar archive
> removing 'hex-utils-0.2' (and everything under it)
>
> $ twine upload dist/hex-utils-0.2.sdist
> Uploading distributions to https://pypi.python.org/pypi
> ValueError: Cannot find file (or expand pattern):
> 'dist/hex-utils-0.2.sdist'
>
> $ ls -la dist
> total 12
> drwxrwxrwx 1 root 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 
> 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.so...@protonmail.ch
> CC: berker.pek...@gmail.com,Distutils-Sig@python.org
>
> Luis, it looks like you're running twine on Python 3 and setuptools is
> installed for Python 2. Try doing:
>
> python3 -m pip install setuptools
>
> or
>
> apt-get install -y python3-setuptools
>
>
>
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-06-01 Thread Luí­s de Sousa via Distutils-SIG
Hi again Ian,

Installing setuptools for python 3 dealt away with that error but the upload is 
still failing. I am not sure this is related to twine or not, but I'll leave 
here the log in any case, someone might suggest something.

Thank you,

Luís

$ python3 setup.py sdist
running sdist
running egg_info
creating hex_utils.egg-info
writing hex_utils.egg-info/PKG-INFO
writing top-level names to hex_utils.egg-info/top_level.txt
writing dependency_links to hex_utils.egg-info/dependency_links.txt
writing entry points to hex_utils.egg-info/entry_points.txt
writing manifest file 'hex_utils.egg-info/SOURCES.txt'
reading manifest file 'hex_utils.egg-info/SOURCES.txt'
writing manifest file 'hex_utils.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, 
README.txt

running check
creating hex-utils-0.2
creating hex-utils-0.2/hex_utils
creating hex-utils-0.2/hex_utils.egg-info
making hard links in hex-utils-0.2...
hard linking setup.py -> hex-utils-0.2
hard linking hex_utils/__init__.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/asc.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/asc2hasc.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/grid.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/hasc.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/hasc2gml.py -> hex-utils-0.2/hex_utils
hard linking hex_utils/surfaceSimple.py -> hex-utils-0.2/hex_utils
hard linking hex_utils.egg-info/PKG-INFO -> hex-utils-0.2/hex_utils.egg-info
hard linking hex_utils.egg-info/SOURCES.txt -> hex-utils-0.2/hex_utils.egg-info
hard linking hex_utils.egg-info/dependency_links.txt -> 
hex-utils-0.2/hex_utils.egg-info
hard linking hex_utils.egg-info/entry_points.txt -> 
hex-utils-0.2/hex_utils.egg-info
hard linking hex_utils.egg-info/top_level.txt -> 
hex-utils-0.2/hex_utils.egg-info
Writing hex-utils-0.2/setup.cfg
creating dist
Creating tar archive
removing 'hex-utils-0.2' (and everything under it)

$ twine upload dist/hex-utils-0.2.sdist
Uploading distributions to https://pypi.python.org/pypi
ValueError: Cannot find file (or expand pattern): 'dist/hex-utils-0.2.sdist'

$ ls -la dist
total 12
drwxrwxrwx 1 root 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 ----
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.so...@protonmail.ch
CC: berker.pek...@gmail.com,Distutils-Sig@python.org

Luis, it looks like you're running twine on Python 3 and setuptools is
installed for Python 2. Try doing:

python3 -m pip install setuptools

or

apt-get install -y python3-setuptools___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-05-24 Thread Luí­s de Sousa via Distutils-SIG
Hi there Ian. Twine is also failling, apparently it can not find setup tools, 
please check the log below.

Cheers.

$ twine upload dist/hex-utils-0.2.sdist
Traceback (most recent call last):
File "/usr/bin/twine", line 9, in 
load_entry_point('twine==1.5.0', 'console_scripts', 'twine')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in 
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in 
load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in 
load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in 
resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/twine/__main__.py", line 20, in 
from twine.cli import dispatch
File "/usr/lib/python3/dist-packages/twine/cli.py", line 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-setuptools 20.7.0-1 all Python Distutils Enhancements




---- Original Message 
Subject: Re: [Distutils] PyPi upload fails with TypeError
Local Time: 20 May 2016 8:22 PM
UTC Time: 20 May 2016 18:22
From: graffatcolmin...@gmail.com
To: berker.pek...@gmail.com
CC: luis.de.so...@protonmail.ch,Distutils-Sig@python.org

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.___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] PyPi upload fails with TypeError

2016-05-24 Thread Ian Cordasco
Luis, it looks like you're running twine on Python 3 and setuptools is
installed for Python 2. Try doing:

python3 -m pip install setuptools

or

apt-get install -y python3-setuptools

On Tue, May 24, 2016 at 1:13 PM, Luí­s de Sousa
<luis.de.so...@protonmail.ch> wrote:
> Hi there Ian. Twine is also failling, apparently it can not find setup
> tools, please check the log below.
>
> Cheers.
>
> $ twine upload dist/hex-utils-0.2.sdist
> Traceback (most recent call last):
>   File "/usr/bin/twine", line 9, in 
> load_entry_point('twine==1.5.0', 'console_scripts', 'twine')()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542,
> in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2569, in load_entry_point
> return ep.load()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2229, in load
> return self.resolve()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2235, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>   File "/usr/lib/python3/dist-packages/twine/__main__.py", line 20, in
> 
> from twine.cli import dispatch
>   File "/usr/lib/python3/dist-packages/twine/cli.py", line 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-setuptools 20.7.0-1 all Python Distutils Enhancements
>
>
>
>  Original Message 
> Subject: Re: [Distutils] PyPi upload fails with TypeError
> Local Time: 20 May 2016 8:22 PM
> UTC Time: 20 May 2016 18:22
> From: graffatcolmin...@gmail.com
> To: berker.pek...@gmail.com
> CC: luis.de.so...@protonmail.ch,Distutils-Sig@python.org
>
> 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.
>
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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, 2016 at 1:18 PM, Berker Peksağ  wrote:
> 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
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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? 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


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 .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
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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 maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


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'
> object to str implicitly
> 
> I verified that Topic :: Scientific/Engineering :: GIS is a valid
> topic. What else am I missing?

The TypeError is about the *last* line in the traceback:  One of
`self.username' or 'self.password' is set to 'None'.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJXPz6FAAoJEPKpaDSJE9HYV68P/jlp6buHOZeaGdEVcSiPV/V6
l1FCk56Wgu8/IOjIA/APLH5USMfABESt9YHKBzMENfRQpIbaMs0CmhdE5ONeJs3F
LSOGEiY4i5QWNjOlw1oE5GaG9Hj31XuzmCMs39kIQ3C+gOXq/inGTIF4fsvGmK/l
dMfVEWmbG0OJkcclrgrTAiJ79La0408ci+N62hsz4s3l+d0F9PUZXd6gpl6AOzMm
ORr1IMsGHLfhyWFVfmWoJxyRUJVeGE+t3wY6CCOJEJEckbezOVXyxkBnkSxhVpwd
fwffKpNTwFRXvggH4qPcDmmf4T6sAS/hOkBBw0WjcbNMRlFzCaU7Ehr2aw3+wxjU
H8GAsn3Xh2H1T3c4qHUYWe7X78/mPN0Pri9Rykg9NVSJ9m1awq94tJgR7tH1om3U
+4UvzzkyIKIr8a8YikqSjKnTrJWhqtnSJ+08D4zlBoA1R7lQMdD079wOnmtaLKYj
ogYf9xG1jFpVWUeCOdh6qHlQikBHWFWRFSMootKg/tRd6qrsLsbaoaIlEGefPEtJ
NgOQ1wMYWthzGglkiktGF7Fv6qHit0rYVSOOSu7gIxQbpkgOylaIwGDuvkArELk3
WD1AJ/F2gc409/IhrvJITP5rP+sdJVMtJswEqYvB6zxaUURvt+Qf4crzqPUCvrAp
aKxqMdnFeKZ5jqKRrXge
=Ov3n
-END PGP SIGNATURE-

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[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/Engineering :: GIS",
File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.4/distutils/command/upload.py", line 65, in run
self.upload_file(command, pyversion, filename)
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' object to str implicitly

I verified that Topic :: Scientific/Engineering :: GIS is a valid topic. What 
else am I missing?

Thank you,

Luís


Sent from [ProtonMail](https://protonmail.ch), encrypted email based in 
Switzerland.___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig