Skip to content
Browse files

use python.exe, not python, when accessing the interpreter in a venv …

…under windows
  • Loading branch information...
1 parent ea4f112 commit 4ea6f247a0230daa3899787fe8fd455f7a431e1b @ianb ianb committed Jan 20, 2009
Showing with 3 additions and 1 deletion.
  1. +2 −0 docs/news.txt
  2. +1 −1 pip.py
View
2 docs/news.txt
@@ -36,6 +36,8 @@ hg tip
repositories and ability to freeze them. Refactored support for version
control systems.
+* Fixed Win32 virtualenv (``-E``) option.
+
0.2.1
-----
View
2 pip.py
@@ -936,7 +936,7 @@ def restart_in_venv(venv, args):
## FIXME: always have no_site_packages?
virtualenv.create_environment(venv, site_packages=False)
if sys.platform == 'win32':
- python = os.path.join(venv, 'Scripts', 'python')
+ python = os.path.join(venv, 'Scripts', 'python.exe')
else:
python = os.path.join(venv, 'bin', 'python')
if not os.path.exists(python):

0 comments on commit 4ea6f24

Please sign in to comment.
Something went wrong with that request. Please try again.