From 84f9f45f984cbf0b4192cae49e51333767bb5576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Sat, 5 Apr 2014 08:47:04 +0200 Subject: [PATCH] fix runtox.py failure when 'tox' is not available on the current system path Now just assumes that the tox module is available in the executing Python environment. --HG-- branch : jurko/tox_usage --- runtox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtox.py b/runtox.py index 94e80ba4f..40fbcb569 100644 --- a/runtox.py +++ b/runtox.py @@ -4,7 +4,7 @@ import subprocess import sys if __name__ == "__main__": - subprocess.call(["tox", + subprocess.call([sys.executable, "-m", "tox", "-i", "ALL=https://devpi.net/hpk/dev/", "--develop",] + sys.argv[1:])