summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonel Maries Cristian <contact@ionelmc.ro>2014-03-25 02:58:56 +0200
committerIonel Maries Cristian <contact@ionelmc.ro>2014-03-25 02:58:56 +0200
commit9dc5a9d83cfac334721d4fc851134212b247ff15 (patch)
tree9e09ed9e7bb4a1b34b952fa340acbd56b973f881
parent6887fe28ea2424be83ba3850e00801a3eee5d32c (diff)
downloadtox-git-9dc5a9d83cfac334721d4fc851134212b247ff15.tar.gz
Backed out changeset: 0b3ce1895d03
-rw-r--r--tox/_config.py1
-rw-r--r--tox/_venv.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tox/_config.py b/tox/_config.py
index 3644d8bd..928305cf 100644
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -357,6 +357,7 @@ class parseini:
ixserver = None
name = self._replace_forced_dep(name, config)
vc.deps.append(DepConfig(name, ixserver))
+ vc.virtualenvbin = reader.getdefault(section, "virtualenvbin", "virtualenv")
vc.distribute = reader.getbool(section, "distribute", False)
vc.sitepackages = self.config.option.sitepackages or \
reader.getbool(section, "sitepackages", False)
diff --git a/tox/_venv.py b/tox/_venv.py
index f8282d86..00f528a3 100644
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -179,7 +179,7 @@ class VirtualEnv(object):
action = self.session.newaction(self, "create")
config_interpreter = self.getsupportedinterpreter()
- args = ['virtualenv']
+ args = [self.envconfig.virtualenvbin]
if self.envconfig.distribute:
args.append("--distribute")
else: