problem uploading ZIP file tp PyPI

John Machin sjmachin at lexicon.net
Thu May 19 22:07:57 EDT 2005


On Fri, 20 May 2005 13:04:21 +1200, "Tony Meyer" <t-meyer at ihug.co.nz>
wrote:

>>> So (if the former is what you meant) would a workaround for 
>>> now be to do something like:
>>>
>>>  setup.py sdist --format=gztar upload
>> 
>> (1) error: command 'tar' failed: No such file or directory
>
>I was assuming that tar and gzip were available.  There are various tar/gzip
>applications available for Windows, e.g. Cygwin, gnuwin32.
>
><http://cygwin.com>

ugh ...

><http://gnuwin32.sourceforge.net>

now yer talkin'

Yes, a workaround in extremis for someone who's been there and done
that ... like being able to detect that the tar pkg is unlikely to
hack it, better get bsdtar, better put a copy renamed tar.exe PLUS the
3 DLLs in the path somewhere.

Anyway, to cut a long story short, setup.py sdist --format=gztar did
what it ought to, PyPI doesn't regard *.tar.gz as implying "pr0n", and
I was able to download it again and open it in WinZip (the normal
Windows archive program).

Thanks for the help.






More information about the Python-list mailing list