Skip to content

Commit

Permalink
update python and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Apr 24, 2024
1 parent 2b62063 commit 8967f1e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions setup/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi

echo "--------------------------------------------"
echo "---- Install system utils"
brew install cmake ninja ccache coreutils git
brew install cmake ninja ccache coreutils git sshpass

echo "--------------------------------------------"
echo "---- Install SOFA dependencies"
Expand All @@ -45,11 +45,17 @@ brew install python@3.11
brew unlink python@3.12 || true
brew unlink python@3.11 || true
brew unlink python@3.10 || true
brew unlink python@3.9 || true

brew link --force python@3.9
python3.9 -m pip install --upgrade pip
python3.9 -m pip install numpy scipy pygame pybind11

brew unlink python@3.9 || true
brew link --force python@3.10
python3.10 -m pip install --upgrade pip
python3.10 -m pip install numpy scipy pygame pybind11


brew unlink python@3.10 || true
brew link --force python@3.11
python3.11 -m pip install --upgrade pip
Expand All @@ -74,7 +80,7 @@ if [ -d "$QT_INSTALLDIR" ]; then
else
python3.10 -m pip install aqtinstall
python3.10 -m aqt install-qt --outputdir $QT_INSTALLDIR mac desktop $QT_MAJOR.$QT_MINOR.$QT_PATCH clang_64 -m qtcharts qtwebengine
python3.10 -m aqt install-tool --outputdir $QT_INSTALLDIR mac desktop tools_ifw qt.tools.ifw.43
python3.10 -m aqt install-tool --outputdir $QT_INSTALLDIR mac desktop tools_ifw qt.tools.ifw.47
fi

echo "--------------------------------------------"
Expand All @@ -83,6 +89,8 @@ brew install assimp
brew install cgal
brew install opencascade
brew install lapack
brew install tinyxml2

# brew install homebrew/cask-drivers/nvidia-cuda

echo "--------------------------------------------"
Expand Down

0 comments on commit 8967f1e

Please sign in to comment.