Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Set S3 URL in the target framename
[releng/global-jjb.git]
/
shell
/
pypi-dist-build.sh
diff --git
a/shell/pypi-dist-build.sh
b/shell/pypi-dist-build.sh
index
27b4b3d
..
4bc0a77
100644
(file)
--- 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
# 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 tw
ine
+# Version controlled by JJB_VERSION
+
lf-activate-venv setuptools twine wheel readl
ine
bdist=""
if $BUILD_BDIST_WHEEL; then
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
bdist="bdist_wheel"
fi