summaryrefslogtreecommitdiff
path: root/build_upload.sh
blob: 7ddd573f05b17fe4a38168bdf7f6af1f6a1a8e16 (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"
python -m build

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

echo "removing dist/*"
rm -r dist