summaryrefslogtreecommitdiff
path: root/build_upload
diff options
context:
space:
mode:
Diffstat (limited to 'build_upload')
-rwxr-xr-xbuild_upload13
1 files changed, 13 insertions, 0 deletions
diff --git a/build_upload b/build_upload
new file mode 100755
index 0000000..03e1f68
--- /dev/null
+++ b/build_upload
@@ -0,0 +1,13 @@
+#!/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"
+twine upload dist/*
+
+echo "removing dist/*"
+rm -r dist \ No newline at end of file