aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-09-21 21:02:21 +0000
committerPJ Eby <distutils-sig@python.org>2006-09-21 21:02:21 +0000
commit952c8c4bf47144b39ddc10d130374463108f7d79 (patch)
tree9705aa9bdcb5e0aeb906b3b71233fd1d50583b65 /setuptools/command/easy_install.py
parentb98a309be5fd52954893a7ed190d042ee140bc78 (diff)
downloadexternal_python_setuptools-952c8c4bf47144b39ddc10d130374463108f7d79.tar.gz
external_python_setuptools-952c8c4bf47144b39ddc10d130374463108f7d79.tar.bz2
external_python_setuptools-952c8c4bf47144b39ddc10d130374463108f7d79.zip
Fix easy_install not recognizing win32.exe files that include a custom bitmap.
(backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4051957
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 288ca1de..147dfc43 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1249,7 +1249,7 @@ def extract_wininst_cfg(dist_filename):
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]))