[Distutils] easy_install finding wrong platform

Phillip J. Eby pje at telecommunity.com
Tue May 9 01:01:55 CEST 2006


At 06:46 PM 5/8/2006 -0400, Charlie Moad wrote:
>For matplotlib I have pypi's download url set to
>"http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474".
>  All the files are over the 5MB limit in case anyone asks.  When I run
>"easy_install -U matplotlib" on windows 2.4 it is downloading the
>"matplotlib-0.87.2-py2.4-macosx10.4.mpkg.zip" file instead of
>"matplotlib-0.87.2-py2.4-win32.egg".  Obviously wrong.

Hi Charlie; this is a known issue that is fixed in the SVN trunk and 0.6 
branch of setuptools; released versions of easy_install are confused by 
"bdist_dumb" distributions of this sort, as they think the .zip file is of 
a project called "matplotlib" with a version of 
"0.87.2-py2.4-macosx10.4.mpkg", and since this is a higher version than 
"0.87.2" easy_install considers it a better match.  I hope to release 0.6b1 
shortly, which will fix this problem in the released version.

In the meantime, you can "easy_install matplotlib==0.87.2" to work around 
the problem, or "easy_install setuptools==dev06" to upgrade to the SVN 
version of the 0.6 branch (soon to be released as 0.6b1).



More information about the Distutils-SIG mailing list