aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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