[Python-checkins] r42301 - sandbox/trunk/setuptools/setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Fri Feb 10 02:34:25 CET 2006


Author: phillip.eby
Date: Fri Feb 10 02:34:24 2006
New Revision: 42301
Modified:
 sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
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.
Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py	Fri Feb 10 02:34:24 2006
@@ -933,8 +933,8 @@
 '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)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /