diff options
| author | Gustavo Picon <tabo@tabo.pe> | 2012-11-04 12:52:18 -0500 |
|---|---|---|
| committer | Gustavo Picon <tabo@tabo.pe> | 2012-11-04 12:52:18 -0500 |
| commit | aaa3eb3c8437cb90ccaef9de61656ed248315d52 (patch) | |
| tree | ef4b2d743537dcb339dfae7346c09c104eb100fc | |
| parent | 6ea35619dd82759e853acb01e2fcf67ab5dd5cb5 (diff) | |
| download | tox-aaa3eb3c8437cb90ccaef9de61656ed248315d52.tar.gz | |
Fix tox #48: Windows: Find interpreters in the path (like pypy)
| -rw-r--r-- | tox/_venv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tox/_venv.py b/tox/_venv.py index b46e609..d63327c 100644 --- a/tox/_venv.py +++ b/tox/_venv.py @@ -337,8 +337,8 @@ else: return exe def find_executable(name): - p = py.path.local(name) - if p.check(file=1): + p = py.path.local.sysfind(name) + if p: return p actual = None # Is this a standard PythonX.Y name? |
