Re: PyPI bdist_wininst upload failing

2007-05-27 Thread Steven Bethard
Steven Bethard wrote: > Gabriel Genellina wrote: >> En Sun, 27 May 2007 12:19:03 -0300, Steven Bethard >> <[EMAIL PROTECTED]> escribió: >> >>> Also, I couldn't get the StringIO code from there to work: >>> >>> >>> import StringIO >>> >>> content = open('argparse-0.8.0.win32.exe').read() >> >> Us

Re: PyPI bdist_wininst upload failing

2007-05-27 Thread Steven Bethard
Gabriel Genellina wrote: > En Sun, 27 May 2007 12:19:03 -0300, Steven Bethard > <[EMAIL PROTECTED]> escribió: > >> Also, I couldn't get the StringIO code from there to work: >> >> >>> import StringIO >> >>> content = open('argparse-0.8.0.win32.exe').read() > > Use open("...","rb").read() - the

Re: PyPI bdist_wininst upload failing

2007-05-27 Thread Gabriel Genellina
En Sun, 27 May 2007 12:19:03 -0300, Steven Bethard <[EMAIL PROTECTED]> escribió: > Also, I couldn't get the StringIO code from there to work: > > >>> import StringIO > >>> content = open('argparse-0.8.0.win32.exe').read() Use open("...","rb").read() - the "b" is important on Windows. -- Gab

Re: PyPI bdist_wininst upload failing

2007-05-27 Thread Steven Bethard
John Machin wrote: > On May 27, 4:20 pm, Steven Bethard <[EMAIL PROTECTED]> 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 b

Re: PyPI bdist_wininst upload failing

2007-05-27 Thread John Machin
On May 27, 4:20 pm, Steven Bethard <[EMAIL PROTECTED]> 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 re

Re: PyPI bdist_wininst upload failing

2007-05-26 Thread Steven Bethard
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: > > $ setup.py sdist bdist_wininst upload > ... > running upload > Submitting dist\argparse-0.8.0.zip to http://www.python.org/pypi >