summaryrefslogtreecommitdiff
path: root/build-osx
diff options
context:
space:
mode:
authorAlastair Houghton <alastair@alastairs-place.net>2018-02-12 14:52:00 +0000
committerAlastair Houghton <alastair@alastairs-place.net>2018-02-12 14:52:00 +0000
commitbcc3132ced7bf20626ccbfee82931e8453faf59c (patch)
tree60fe70715573c8862875351dfe4ae455a17db220 /build-osx
parentfe45705bc587ade090e64916d0dd07de1cc1164f (diff)
downloadnetifaces-git-bcc3132ced7bf20626ccbfee82931e8453faf59c.tar.gz
Added some build scripts for macOS and Linux wheels.
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