diff options
-rw-r--r-- | CHANGELOG | 6 | ||||
-rw-r--r-- | tox.ini | 3 | ||||
-rw-r--r-- | tox/session.py | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2.3.2 +----- + +- fix issue314: fix command invocation with .py scripts on windows. + + 2.3.1 ----- @@ -1,5 +1,6 @@ [tox] -envlist=py27,py26,py34,py33,py35,pypy,flakes,py26-bare +envlist=x{,-hello}{,-world} +#,py27,py26,py34,py33,py35,pypy,flakes,py26-bare [testenv:X] commands=echo {posargs} diff --git a/tox/session.py b/tox/session.py index ffb52d6..93ef5d8 100644 --- a/tox/session.py +++ b/tox/session.py @@ -211,7 +211,7 @@ class Action(object): if sys.platform == "win32": ext = os.path.splitext(str(newargs[0]))[1].lower() if ext == '.py' and self.venv: - newargs = [str(self.envconfig.envpython)] + newargs + newargs = [str(self.venv.envconfig.envpython)] + newargs return newargs |