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
commit19b1d324dbf3207bb71b1c89ee07d014d9ec8f01 (patch)
tree9da783e9da980da8031c967ef7f28ca33c26167b
parentd36aa0c35ff63963a5b5866e5039305ddf2954ae (diff)
downloadtox-19b1d324dbf3207bb71b1c89ee07d014d9ec8f01.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 3644d8b..928305c 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 f8282d8..00f528a 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: