Message from discussion
PyPI bdist_wininst upload failing
Path: g2news1.google.com!postnews.google.com!a26g2000pre.googlegroups.com!not-for-mail
From: John Machin <sjmac...@lexicon.net>
Newsgroups: comp.lang.python
Subject: Re: PyPI bdist_wininst upload failing
Date: 27 May 2007 00:11:12 -0700
Organization: http://groups.google.com
Lines: 23
Message-ID: <1180249872.007145.48030@a26g2000pre.googlegroups.com>
References: <HrudnYBDOM07D8XbnZ2dnUVZ_ualnZ2d@comcast.com>
<Z6GdncMcI7HdvsTbnZ2dnUVZ_rGinZ2d@comcast.com>
NNTP-Posting-Host: 202.76.163.18
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1180249880 29022 127.0.0.1 (27 May 2007 07:11:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 27 May 2007 07:11:20 +0000 (UTC)
In-Reply-To: <Z6GdncMcI7HdvsTbnZ2dnUVZ_rGinZ2d@comcast.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 proxy3.mel.dft.com.au:80 (squid/2.6.STABLE10)
Complaints-To: groups-abuse@google.com
Injection-Info: a26g2000pre.googlegroups.com; posting-host=202.76.163.18;
posting-account=kDowQQwAAAC6-zOxFgMaWqHUgr0n8q-g
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?
>
> STeVe
They are exe files with a zip appended. Try out the above code on your
file; it may just help you suss out what the problem is.
E.g.:
>>> import zipfile
>>> zipfile.ZipFile('xlrd-0.6.1a4.win32.exe').namelist()
['PURELIB/xlrd-0.6.1a4-py2.5.egg-info', 'PURELIB/xlrd/biffh.py',
... snip ...
'SCRIPTS/xlrdnameAPIdemo.py']
>>>
HTH,
John