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:
parent
28aa4c891e
commit
84f9f45f98
|
@ -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:])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue