Merge "Chore: Move to ubuntu2004-docker"
[ci-management.git] / shell / pypi-dist-build.sh
1 #!/bin/bash
2 # Script to build PyPI artifacts
3 set -e -x -o pipefail
4
5 virtualenv -p "$PYTHON" /tmp/v/twine
6 source "/tmp/v/twine/bin/activate"
7
8 pip install twine wheel
9
10 cd "$WORKSPACE/$TOX_DIR"
11 python setup.py sdist bdist_wheel