Skip to content

Commit b3eb01d

Browse files
committed
Filter __PYVENV_LAUNCHER__ from subprocess.
Fixes #322 on OS X Framework installs.
1 parent 6793d5f commit b3eb01d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

virtualenv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def _install_req(py_executable, unzip=False, distribute=False,
489489
source = None
490490
else:
491491
setup_fn = None
492-
source = 'distribute-0.6.27.tar.gz'
492+
source = 'distribute-0.6.28.tar.gz'
493493
project_name = 'distribute'
494494
bootstrap_script = DISTRIBUTE_SETUP_PY
495495

@@ -511,7 +511,7 @@ def _install_req(py_executable, unzip=False, distribute=False,
511511
if unzip:
512512
cmd.append('--always-unzip')
513513
env = {}
514-
remove_from_env = []
514+
remove_from_env = ['__PYVENV_LAUNCHER__']
515515
if logger.stdout_level_matches(logger.DEBUG):
516516
cmd.append('-v')
517517

0 commit comments

Comments
 (0)