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

phillip.eby python-checkins at python.org
Fri Dec 1 04:39:01 CET 2006


Author: phillip.eby
Date: Fri Dec 1 04:39:00 2006
New Revision: 52886
Modified:
 sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
Fix problem w/' ' in sys.executable on Windows.
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 Dec 1 04:39:00 2006
@@ -349,7 +349,7 @@
 if basename.lower()=='python.exe' and os.path.exists(alt):
 # use pythonw.exe to avoid opening a console window
 executable = alt
- if ' ' in executable: executable='"%s"' % executable
+
 from distutils.spawn import spawn
 spawn([executable,'-E','-c','pass'],0)
 


More information about the Python-checkins mailing list

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