Newsgroups: comp.lang.python
From: Steven Bethard <steven.beth...@gmail.com>
Date: Sun, 27 May 2007 09:19:03 -0600
Local: Mon, May 28 2007 1:19 am
Subject: Re: PyPI bdist_wininst upload failing
John Machin wrote: Interesting. Thanks! > On May 27, 4:20 pm, Steven Bethard <steven.beth...@gmail.com> wrote: >> Steven Bethard wrote: >>> I just tried to upload new versions of the argparse module to PyPI, but >>> it seems like I can no longer upload Windows installers: > [snip] >> That seems a little weird to me. Are the bdist_wininst exe files really >> zip files? Or did I just misunderstand what "content" is? > They are exe files with a zip appended. Try out the above code on your >>> zipfile.ZipFile('argparse-0.8.0.win32.exe').namelist() Interestingly, it looks like none of these are "safe_zipnames" according to: https://svn.python.org/packages/trunk/pypi/verify_filetype.py I wonder why that is... Also, I couldn't get the StringIO code from there to work: >>> import StringIO STeVe You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||