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