summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/pypi-dist-build.sh2
-rw-r--r--shell/pypi-publish.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh
index 7733f6242..bc3d4ae65 100644
--- a/shell/pypi-dist-build.sh
+++ b/shell/pypi-dist-build.sh
@@ -2,7 +2,7 @@
# Script to build PyPI artifacts
set -e -x -o pipefail
-virtualenv /tmp/v/twine
+virtualenv -p "$PYTHON_VERSION" /tmp/v/twine
source "/tmp/v/twine/bin/activate"
pip install twine wheel
diff --git a/shell/pypi-publish.sh b/shell/pypi-publish.sh
index 7ea3fa2d9..2510ed38b 100644
--- a/shell/pypi-publish.sh
+++ b/shell/pypi-publish.sh
@@ -2,7 +2,7 @@
# Script to publush PyPI artifacts
set -e -x -o pipefail
-virtualenv /tmp/v/twine
+virtualenv -p "$PYTHON_VERSION" /tmp/v/twine
source "/tmp/v/twine/bin/activate"
pip install twine