diff --git a/scripts/pypi_upload.sh b/scripts/pypi_upload.sh new file mode 100644 index 000000000..4bb7c0c58 --- /dev/null +++ b/scripts/pypi_upload.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +if [ ! -d "dvc" ]; then + echo "Please run this script from repository root" + exit 1 +fi + +rm -rf dist/ +python setup.py bdist_wheel --universal +twine upload dist/*