summaryrefslogtreecommitdiffstats
path: root/shell/pypi-dist-build.sh
blob: bc3d4ae65658eed877a8e60024a016d1ffcc21ca (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_VERSION" /tmp/v/twine
source "/tmp/v/twine/bin/activate"

pip install twine wheel

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