[Distutils] easy_install picks windows egg on Linux
Jean-Paul Calderone
exarkun at divmod.com
Thu May 21 23:45:51 CEST 2009
On Thu, 21 May 2009 16:52:04 -0400, "P.J. Eby" <pje at telecommunity.com> wrote:
>At 01:49 PM 5/21/2009 -0400, Jean-Paul Calderone wrote:
>>Downloading
>>http://pypi.python.org/packages/2.5/p/pyOpenSSL/pyOpenSSL-0.9.py2.5-winxp32.egg#md5=38d273a65bae20f527ff8d21c225d10e
>
>What's bizarre is that that's not a valid egg filename; they must have
>renamed it at some point.
>
>The filename is invalid in two ways: first, it has a '.' between the version
>and the Python version (it should be a '-') and second, 'winxp32' is not a
>valid platform name.
>
>I would suggest contacting the PyOpenSSL maintainers to find out why they
>have renamed it in this fashion; .egg files should never be renamed under
>any circumstances.
"they" would be me. It seems the renaming was a result of copy/pasting
some other piece of build automation combined with me not really thinking
about whether the name might be important.
>(I'm actually surprised that easy_install is recognizing it at all, but
>basically it appears to be treating it as if it's a non-platform-specific
>egg. That's arguably a bug.)
Filed, issue 71.
>>zipimport.ZipImportError: not a Zip file
>
>This part is an expected failure with a --dry-run.
Makes sense.
Thanks,
Jean-Paul
More information about the Distutils-SIG
mailing list