diff options
-rw-r--r-- | setuptools.egg-info/requires.txt | 10 | ||||
-rwxr-xr-x | setuptools/command/easy_install.py | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/setuptools.egg-info/requires.txt b/setuptools.egg-info/requires.txt index e4fb4954..221040f8 100644 --- a/setuptools.egg-info/requires.txt +++ b/setuptools.egg-info/requires.txt @@ -1,13 +1,13 @@ +[ssl:python_version in '2.4, 2.5'] +ssl==1.16 + [ssl:sys_platform=='win32' and python_version=='2.4'] ctypes==1.0.2 -[ssl:sys_platform=='win32'] -wincertstore==0.1 - [certs] certifi==0.0.8 -[ssl:python_version in '2.4, 2.5'] -ssl==1.16
\ No newline at end of file +[ssl:sys_platform=='win32'] +wincertstore==0.1
\ No newline at end of file diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 000fefa0..3194644e 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1491,6 +1491,7 @@ def extract_wininst_cfg(dist_filename): f.seek(prepended-12) from setuptools.compat import StringIO, ConfigParser + import struct tag, cfglen, bmlen = struct.unpack("<iii",f.read(12)) if tag not in (0x1234567A, 0x1234567B): return None # not a valid tag |