[Distutils] easy_install prefering filename over #egg

Ian Bicking ianb at openplans.org
Mon Nov 19 19:15:39 CET 2007


We've been building some custom eggs for the lxml trunk and we uploaded 
the packages to our wiki, which replaced the .'s with -'s.  This messed 
up the filenames, so we added #egg in an effort to correct that:

http://www.openplans.org/projects/opencore/dependencies/lxml-2-0alpha5-py2-4-linux-x86_64.egg#egg=lxml-2.0alpha5-py2.4-linux-x86_64

But it seems that easy_install prefers the base name, not the fragment, 
and so it parsed this as an lxml 2 egg, with 0alpha5blahblahblah as the 
platform(?)... I'm not sure exactly how it parsed it, but it got it wrong.

It seems like easy_install should prefer fragments over the filename 
itself, as the fragments will only be there if someone deliberately adds 
them.

   Ian


More information about the Distutils-SIG mailing list