This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "\n# Source SOFA config file\nsource ~/.sofarc" >> ~/.zshrc && curl -fsSLo ~/.sofarc https://gist.githubusercontent.com/jacob2467/3439a494d7b6878f8633ba0a401efd4c/raw/573b1038b8b7dbb096efd96207cc200a409da75c/.sofarc | |
| curl -fsSLo temp.zip https://github.com/sofa-framework/TrainingMaterials/archive/refs/heads/main.zip && unzip temp.zip -dn /Applications/SOFA_v25.06.00_MacOS && rm temp.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Parent directory of all CPython installations ## | |
| export PYTHON_VERSIONS="/Library/Frameworks/Python.framework/Versions" | |
| ## SOFA ## | |
| function setup-sofa () { | |
| # Root sofa directory | |
| export SOFA_ROOT="/Applications/SOFA_v25.06.00_MacOS" | |
| # Point SOFA to installed Python 3.12 modules | |
| export PYTHONPATH="$PYTHON_VERSIONS/3.12/lib/python3.12/site-packages:$PYTHONPATH" |