summaryrefslogtreecommitdiff
path: root/build-osx
blob: 896b3539413d0c67ddc75ada23e8b256fba74738 (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 3.7.10 3.8.10 3.9.5"

for version in $VERSIONS; do
  pyenv install -s "$version"
  pyenv shell "$version"
  pip install wheel
  pip wheel . -w wheelhouse/
done