aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/build.sh b/bin/build.sh
new file mode 100755
index 0000000..e9faf30
--- /dev/null
+++ b/bin/build.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+printf "> Create source distribution\n"
+python3 setup.py sdist bdist_wheel
+
+printf "> Upload to PyPI\n"
+python3 -m twine upload dist/*
+
+printf "> Install updated binary\n"
+sudo pip3 install TermIO --upgrade