deploy.sh 269 Bytes
Newer Older
1
#! /bin/bash
2 3 4 5
##
# requires python3-wheel, python3-twine
##

6
set -e
7

8
# build dist
9 10 11
rm -rf build/ dist/
python3 setup.py sdist
python3 setup.py bdist_wheel
12 13 14 15

# use twine (not sure why twine-3 no longer works...)
python3 -m twine check dist/*
python3 -m twine upload dist/*