diff options
author | Alastair Houghton <alastair@alastairs-place.net> | 2018-02-12 14:52:00 +0000 |
---|---|---|
committer | Alastair Houghton <alastair@alastairs-place.net> | 2018-02-12 14:52:00 +0000 |
commit | bcc3132ced7bf20626ccbfee82931e8453faf59c (patch) | |
tree | 60fe70715573c8862875351dfe4ae455a17db220 /build-osx | |
parent | fe45705bc587ade090e64916d0dd07de1cc1164f (diff) | |
download | netifaces-git-bcc3132ced7bf20626ccbfee82931e8453faf59c.tar.gz |
Added some build scripts for macOS and Linux wheels.
Diffstat (limited to 'build-osx')
-rwxr-xr-x | build-osx | 17 |
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 |