diff options
Diffstat (limited to 'build_upload.sh')
-rwxr-xr-x | build_upload.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build_upload.sh b/build_upload.sh new file mode 100755 index 0000000..c195b5f --- /dev/null +++ b/build_upload.sh @@ -0,0 +1,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
\ No newline at end of file |