Initial MacOS install changes

This commit is contained in:
Gene Hoffman 2020-04-06 10:26:00 -07:00
parent d2f5fab1d3
commit c6530e7eea
No known key found for this signature in database
GPG Key ID: AE8989DA18CADC80
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ if [ `uname` = "Linux" ]; then
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo yum install -y nodejs
fi
elif [ `uname` = "Darwin" ] && type brew; then
brew upgrade python npm gmp
elif [ `uname` = "Darwin" ] && ! type brew; then
echo "Installation requires brew on MacOS"
fi
# this fancy syntax sets INSTALL_PYTHON_PATH to "python3.7" unless INSTALL_PYTHON_VERSION is defined