diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-03-09 19:21:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-09 19:21:09 +0000 |
commit | dc39c1e60ee53b4d74a99a61f0cea216c0359d4d (patch) | |
tree | 0e9416f99f6f2ec33073996f88eaa6b743854d1d /shell/pypi-dist-build.sh | |
parent | 95e91e9c3c35c3328f4643ed93d22d96fc50e1ad (diff) | |
parent | 295975d522aaa584bc3dd79c043b1a6003977f22 (diff) |
Merge "Configure PyPI releases"
Diffstat (limited to 'shell/pypi-dist-build.sh')
-rw-r--r-- | shell/pypi-dist-build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/pypi-dist-build.sh b/shell/pypi-dist-build.sh new file mode 100644 index 000000000..7733f6242 --- /dev/null +++ b/shell/pypi-dist-build.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Script to build PyPI artifacts +set -e -x -o pipefail + +virtualenv /tmp/v/twine +source "/tmp/v/twine/bin/activate" + +pip install twine wheel + +cd "$WORKSPACE/$TOX_DIR" +python setup.py sdist bdist_wheel |