aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-01-22 01:14:16 +0100
committerbozo.kopic <bozo@kopic.xyz>2022-01-22 01:14:16 +0100
commitbb47b580104052a6c1cfaf46fde4570060d1a19c (patch)
treeba049c76ea922c3b46f560981c2b570662052bdd /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