From c6530e7eea5baec22a12b74879b798d9862341f6 Mon Sep 17 00:00:00 2001 From: Gene Hoffman Date: Mon, 6 Apr 2020 10:26:00 -0700 Subject: [PATCH] Initial MacOS install changes --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index e3297742..6c810ed9 100644 --- a/install.sh +++ b/install.sh @@ -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