diff options
Diffstat (limited to 'tox/config.py')
-rw-r--r-- | tox/config.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tox/config.py b/tox/config.py index 7676127..9f5aae3 100644 --- a/tox/config.py +++ b/tox/config.py @@ -324,6 +324,10 @@ def tox_addoption(parser): help="additional arguments available to command positional substitution") # add various core venv interpreter attributes + parser.add_testenv_attribute( + name="envdir", type="path", default="{toxworkdir}/{envname}", + help="venv directory") + def basepython_default(testenv_config, value): if value is None: for f in testenv_config.factors: @@ -338,10 +342,6 @@ def tox_addoption(parser): "virtual test environment.") parser.add_testenv_attribute( - name="envdir", type="path", default="{toxworkdir}/{envname}", - help="venv directory") - - parser.add_testenv_attribute( name="envtmpdir", type="path", default="{envdir}/tmp", help="venv temporary directory") @@ -716,7 +716,7 @@ class parseini: if atype == "path": reader.addsubstitutions(**{env_attr.name: res}) - if env_attr.name == "envdir": + if env_attr.name == "basepython": reader.addsubstitutions(envbindir=vc.envbindir, envpython=vc.envpython, envsitepackagesdir=vc.envsitepackagesdir) return vc |