Skip to content

Commit

Permalink
use python.exe, not python, when accessing the interpreter in a venv …
Browse files Browse the repository at this point in the history
…under windows
  • Loading branch information
ianb committed Jan 21, 2009
1 parent ea4f112 commit 4ea6f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/news.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
2 changes: 1 addition & 1 deletion pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4ea6f24

Please sign in to comment.