diff options
author | PJ Eby <distutils-sig@python.org> | 2006-09-21 21:02:21 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2006-09-21 21:02:21 +0000 |
commit | 952c8c4bf47144b39ddc10d130374463108f7d79 (patch) | |
tree | 9705aa9bdcb5e0aeb906b3b71233fd1d50583b65 /setuptools/command/easy_install.py | |
parent | b98a309be5fd52954893a7ed190d042ee140bc78 (diff) | |
download | external_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-x | setuptools/command/easy_install.py | 2 |
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])) |