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
This commit is contained in:
Jurko Gospodnetić 2014-04-05 08:47:04 +02:00
parent 28aa4c891e
commit 84f9f45f98
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import subprocess
import sys import sys
if __name__ == "__main__": if __name__ == "__main__":
subprocess.call(["tox", subprocess.call([sys.executable, "-m", "tox",
"-i", "ALL=https://devpi.net/hpk/dev/", "-i", "ALL=https://devpi.net/hpk/dev/",
"--develop",] + sys.argv[1:]) "--develop",] + sys.argv[1:])