提交 4ea6f247 编写于 作者: I Ian Bicking

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

上级 ea4f112a
......@@ -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
-----
......
......@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册