From 7473dcbb92dd3fdeadfd67c725f08729a32cd06f Mon Sep 17 00:00:00 2001 From: Robert Myers Date: Sat, 4 Dec 2010 14:47:25 -0600 Subject: Adding DATA/LIB/site-packages to the list of prefixes searched in an exe file during installation. --HG-- branch : distribute extra : rebase_source : f300b49beac88354af6238df4a83798721860716 --- setuptools/command/easy_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setuptools/command') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 27fd00c7..61fbcf7f 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1445,7 +1445,8 @@ def get_exe_prefixes(exe_filename): prefixes = [ ('PURELIB/', ''), ('PLATLIB/pywin32_system32', ''), ('PLATLIB/', ''), - ('SCRIPTS/', 'EGG-INFO/scripts/') + ('SCRIPTS/', 'EGG-INFO/scripts/'), + ('DATA/LIB/site-packages', ''), ] z = zipfile.ZipFile(exe_filename) try: -- cgit v1.2.1