X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpypi-dist-build.sh;fp=shell%2Fpypi-dist-build.sh;h=9341a1ff6f066ccf1dda3c2783709889e92fde6f;hb=c53e11db14ab7abede74c74801bec9ca381c8cc6;hp=27b4b3df48c7b8b02e992303bf578c74cba4f8b9;hpb=d0dfd24055995c4a2ed27fb7bc9e3dee65ba0d16;p=releng%2Fglobal-jjb.git diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh index 27b4b3df..9341a1ff 100644 --- a/shell/pypi-dist-build.sh +++ b/shell/pypi-dist-build.sh @@ -16,16 +16,16 @@ echo "---> pypi-dist-build.sh" # Ensure we fail the job if any steps fail. set -eu -o pipefail +echo "INFO: creating virtual environment" virtualenv -p python3 /tmp/pypi PATH=/tmp/pypi/bin:$PATH - -echo "INFO: installing twine to check distributions" -pip install -q twine +pipup="python -m pip install -q --upgrade setuptools twine wheel" +echo "INFO: $pipup" +$pipup bdist="" if $BUILD_BDIST_WHEEL; then - echo "INFO: installing wheel to build binary distribution" - pip install -q wheel + echo "INFO: adding wheel to build binary distribution" bdist="bdist_wheel" fi