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

Reply via email to