1. Alexander Artemenko
  2. pip


Ian Bicking  committed f77add3

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

  • Participants
  • Parent commits 762a707
  • Branches trunk

Comments (0)

Files changed (2)

File docs/news.txt

View file
   repositories and ability to freeze them. Refactored support for version
   control systems.
+* Fixed Win32 virtualenv (``-E``) option.

File pip.py

View file
         ## 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')
         python = os.path.join(venv, 'bin', 'python')
     if not os.path.exists(python):