1. Tarek Ziadé
  2. distribute

Commits

phillip.eby  committed 3344eb8

Fix easy_install not recognizing win32.exe files that include a custom bitmap.
(backport from trunk)

  • Participants
  • Parent commits 2d73d33
  • Branches setuptools-0.6

Comments (0)

Files changed (2)

File EasyInstall.txt

View file
 Release Notes/Change History
 ============================
 
+0.6c4
+ * Fixed not recogninzing ``win32.exe`` installers that included a custom
+   bitmap.
+
 0.6c3
  * You once again use "python -m easy_install" with Python 2.4 and above.
 

File setuptools/command/easy_install.py

View file
         if tag not in (0x1234567A, 0x1234567B):
             return None     # not a valid tag
 
-        f.seek(prepended-(12+cfglen+bmlen))
+        f.seek(prepended-(12+cfglen))
         cfg = ConfigParser.RawConfigParser({'version':'','target_version':''})
         try:
             cfg.readfp(StringIO.StringIO(f.read(cfglen).split(chr(0),1)[0]))