X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpypi-dist-build.sh;h=4bc0a77644a499d0509925d2b22d326baeb2dc40;hb=b9eb4581940562effcf67863704a3ec2c47ceca0;hp=27b4b3df48c7b8b02e992303bf578c74cba4f8b9;hpb=632614282b5883533d2cb73ceb7a27e0b218878b;p=releng%2Fglobal-jjb.git diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh index 27b4b3df..4bc0a776 100644 --- a/shell/pypi-dist-build.sh +++ b/shell/pypi-dist-build.sh @@ -16,16 +16,15 @@ echo "---> pypi-dist-build.sh" # Ensure we fail the job if any steps fail. set -eu -o pipefail -virtualenv -p python3 /tmp/pypi -PATH=/tmp/pypi/bin:$PATH +# shellcheck disable=SC1090 +source ~/lf-env.sh -echo "INFO: installing twine to check distributions" -pip install -q twine +# Version controlled by JJB_VERSION +lf-activate-venv setuptools twine wheel readline 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