From d2dfa337171fdad8ed48ce95e3b8f91e291423b7 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 17 Apr 2022 15:16:50 -0600 Subject: add build and upload command, modified readme --- build_upload.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 build_upload.sh (limited to 'build_upload.sh') 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 -- cgit v1.2.3-70-g09d2