From 8de51dba813c645765ce1fe91fba598ece498d3b Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Wed, 21 Apr 2021 12:06:57 +0200 Subject: [PATCH] Set python executable for Windows. --- proof-of-concept/test_pof.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proof-of-concept/test_pof.sh b/proof-of-concept/test_pof.sh index e95a526f6..71429b217 100755 --- a/proof-of-concept/test_pof.sh +++ b/proof-of-concept/test_pof.sh @@ -30,6 +30,11 @@ _build_wheel() { echo "Create venv: $VENV" python -m venv "$VENV" local PY_BUILDER="`pwd`/$VENV/bin/python3" + if [ -x "`pwd`/$VENV/bin/python.exe" ] + then + # Set the correct python executable for Windows + PY_BUILDER="`pwd`/$VENV/bin/python.exe" + fi echo echo "Installing hpy and requirements" _install_hpy ${PY_BUILDER}