Bug 987984 - VirtualenvManager.call_setup() should use self.python_path instead of sys.executable, r=gps

This commit is contained in:
Andrew Halberstadt 2014-03-25 17:41:08 -04:00
parent ea04c8594f
commit 72fdff8026

View File

@ -343,7 +343,7 @@ class VirtualenvManager(object):
"""Calls setup.py in a directory.""" """Calls setup.py in a directory."""
setup = os.path.join(directory, 'setup.py') setup = os.path.join(directory, 'setup.py')
program = [sys.executable, setup] program = [self.python_path, setup]
program.extend(arguments) program.extend(arguments)
# We probably could call the contents of this file inside the context # We probably could call the contents of this file inside the context