[Distutils] easy_install doesn't recognize valid distutils Windows installers

Phillip J. Eby pje at telecommunity.com
Thu Sep 21 02:49:01 CEST 2006


At 08:25 PM 9/20/2006 -0400, Matt Good wrote:
>On Wed, 2006-09-20 at 20:00 -0400, Phillip J. Eby wrote:
> > In other words, the .exe you're having problems with doesn't seem like it
> > could've been produced by an unmodified distutils bdist_wininst 
> command, as
> > I've checked the SVN logs for that module and it's been 5 years since
> > bdist_wininst had the 'bitmaplen' value added.
>
>Well, that would make sense since the bdist_wininst command writes the
>bitmap *before* the config, not after as easy_install assumes.  So,
>easy_install is seeking to the beginning of the bitmap as shown by the
>data here:
>
> >>> f.seek(prepended-(12+cfglen+bmlen))
> >>> f.read(5)
>'BM.\x9c\x00'

D'oh!  I guess we're looking at having to release an *0.6c4* 
now.  [sigh]  Oh well, there was still the SF downloads issue to fix 
anyway.  :(



More information about the Distutils-SIG mailing list