diff options
| author | Monty Taylor <mordred@inaugust.com> | 2013-07-16 12:00:05 -0400 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2013-07-16 12:00:05 -0400 |
| commit | 2f201ae07fb8648635ab8872cbf06c2d601dbf59 (patch) | |
| tree | 1fef822dcd37bf87ed92cb4b65c2d3e292bb3797 | |
| parent | 7af502ada4aa04aaf7081bdc0126c1229f93b37b (diff) | |
| download | tox-2f201ae07fb8648635ab8872cbf06c2d601dbf59.tar.gz | |
Use the python from the venv for setup.py --name
| -rw-r--r-- | tox/_venv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/_venv.py b/tox/_venv.py index 9e4a787..044bcf4 100644 --- a/tox/_venv.py +++ b/tox/_venv.py @@ -209,7 +209,7 @@ class VirtualEnv(object): def _needs_reinstall(self, setupdir, action): setup_py = setupdir.join('setup.py') setup_cfg = setupdir.join('setup.cfg') - args = [str(self.getconfigexecutable()), str(setup_py), '--name'] + args = [self.envconfig.envpython, str(setup_py), '--name'] output = action.popen(args, cwd=setupdir, redirect=False, returnout=True) name = output.strip().decode('utf-8') |
