summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2019-10-07 21:22:54 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-07 21:22:54 +0000
commit1d60277f0802355e3012ccd247ec0ec0b02dd407 (patch)
tree3377ef0d833d22a5ca2070e9c30491c206c265f3
parentf135878fb6159b8f88de6c2e69ae73650941c42e (diff)
parent6555db64fdc8e7b8cd76bbd0ec76564b9f3ad6d7 (diff)
Merge "Correct python environment variable"
-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 bc3d4ae65..cd4afb62d 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 -p "$PYTHON_VERSION" /tmp/v/twine
+virtualenv -p "$PYTHON" /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 2510ed38b..e097b1687 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 -p "$PYTHON_VERSION" /tmp/v/twine
+virtualenv -p "$PYTHON" /tmp/v/twine
source "/tmp/v/twine/bin/activate"
pip install twine