aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-07-27 03:28:02 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-07-27 03:28:02 +0200
commit75aba19165cbe890e600cb9f04e04a3dd865e6a2 (patch)
tree5d7686dca9dcf01f094ac7ed41dd0ee0841867ad /build.sh
init
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..d03adf8
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+cd $(dirname -- "$0")
+
+PYTHON=${PYTHON:-python3}
+
+$PYTHON setup.py \
+ build --build-base build \
+ egg_info --egg-base build \
+ bdist_wheel --dist-dir build