On Wed, Jun 1, 2016 at 10:10 AM, Luí­s de Sousa
<[email protected]> 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: [email protected]
> To: [email protected]
> CC: [email protected],[email protected]
>
> 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  -  [email protected]
> https://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to