summaryrefslogtreecommitdiffstats
path: root/shell/pypi-dist-build.sh
blob: cd4afb62d0a884506c020fc348251ce7e156b43c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Script to build PyPI artifacts
set -e -x -o pipefail

virtualenv -p "$PYTHON" /tmp/v/twine
source "/tmp/v/twine/bin/activate"

pip install twine wheel

cd "$WORKSPACE/$TOX_DIR"
python setup.py sdist bdist_wheel