summaryrefslogtreecommitdiff
path: root/build-osx
diff options
context:
space:
mode:
Diffstat (limited to 'build-osx')
-rwxr-xr-xbuild-osx17
1 files changed, 17 insertions, 0 deletions
diff --git a/build-osx b/build-osx
new file mode 100755
index 0000000..35da8dd
--- /dev/null
+++ b/build-osx
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+if [ `uname` != "Darwin" ]; then
+ echo "You must run this on macOS"
+ exit
+fi
+
+eval "$(pyenv init -)"
+
+VERSIONS="2.7.10 3.6.2"
+
+for version in $VERSIONS; do
+ pyenv install -s "$version"
+ pyenv shell "$version"
+ pip install wheel
+ pip wheel . -w wheelhouse/
+done