summaryrefslogtreecommitdiff
path: root/build-osx
blob: 35da8ddb0df4dcd64ce73815698e9b0b0e1c78a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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