build_release: Fix call_tox with no python on Win

This commit is contained in:
Florian Bruhin 2016-07-26 17:55:26 +02:00
parent 24f3703615
commit 55f4777d72

View File

@ -51,7 +51,7 @@ def call_script(name, *args, python=sys.executable):
subprocess.check_call([python, path] + list(args))
def call_tox(toxenv, *args, python=sys.executable):
def call_tox(toxenv, *args, python=os.path.dirname(sys.executable)):
"""Call tox.
Args: