From f2489447ecb1414d7e6090cf3e4a1966a97e6756 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Fri, 10 Feb 2006 01:34:24 +0000 Subject: Ugh. Rereading the Fedora patch shows my previous hack won't actually accomplish anything useful. This one should, but it needs testing by someone who actually has a Fedora 64-bit x86 setup. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042301 --- setuptools/command/easy_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index b7d019a9..082eda7f 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -933,8 +933,8 @@ def get_site_dirs(): 'Python', sys.version[:3], 'site-packages')) - - site_lib = get_python_lib(prefix=prefix or None) + for plat_specific in (0,1): + site_lib = get_python_lib(plat_specific) if site_lib not in sitedirs: sitedirs.append(site_lib) sitedirs = filter(os.path.isdir, sitedirs) -- cgit v1.2.1