aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-02-10 01:34:24 +0000
committerPJ Eby <distutils-sig@python.org>2006-02-10 01:34:24 +0000
commitf2489447ecb1414d7e6090cf3e4a1966a97e6756 (patch)
treefc925ddc88ce19c6a8e222d8b8f73c5dccbcd211 /setuptools/command/easy_install.py
parent3bc9101b724f46ee39fd1b53518db39a5d5886cc (diff)
downloadexternal_python_setuptools-f2489447ecb1414d7e6090cf3e4a1966a97e6756.tar.gz
external_python_setuptools-f2489447ecb1414d7e6090cf3e4a1966a97e6756.tar.bz2
external_python_setuptools-f2489447ecb1414d7e6090cf3e4a1966a97e6756.zip
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
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
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)