diff options
author | holger krekel <holger@merlinux.eu> | 2016-02-11 18:02:28 +0100 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2016-02-11 18:02:28 +0100 |
commit | 262863894f62e9d397f62963b956bfbe7bf6ce9e (patch) | |
tree | 913098fcd3d124e97ea942c8e0ec35309d451d92 | |
parent | deaacda2f7691916ff9fb703536b012d6d546208 (diff) | |
download | tox-262863894f62e9d397f62963b956bfbe7bf6ce9e.tar.gz |
fix issue314: fix invocation of .py scripts on windows
-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 |