Commit f42a267a authored by PJ Eby's avatar PJ Eby

Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``

has a space in it (e.g., the user installed Python to a ``Program
Files`` directory).  (backport from trunk)

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052887
parent 3abf8f8b
......@@ -1269,6 +1269,10 @@ Release Notes/Change History
are opened read-only (e.g. reading ``/dev/urandom`` for random numbers, as
is done by ``os.urandom()`` on some platforms).
* Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``
has a space in it (e.g., the user installed Python to a ``Program Files``
directory).
0.6c3
* You once again use "python -m easy_install" with Python 2.4 and above.
......
......@@ -349,7 +349,7 @@ Please make the appropriate changes for your system and try again.
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment