summaryrefslogtreecommitdiff
path: root/build_upload.sh
blob: c195b5fd77502b8eae6279f75eb0e81e1776345b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# this is supposed to be used from within the package root dir,
#   too lazy to make it more general

echo "building package"
/bin/python -m build

echo "uploading to pypi"
# alternatively, use /bin/python -m twine, i use twine in arch
/bin/twine upload dist/*

echo "removing dist/*"
rm -r dist