Add more versions of user python installs

This commit is contained in:
ViViDboarder 2023-01-25 16:01:15 -08:00
parent 15245aa498
commit 2c7dc587b3

View File

@ -38,7 +38,9 @@ if [ $det_os = "mac" ]
# Fix Python path on OSX to avoid considering System extras over newer versions # Fix Python path on OSX to avoid considering System extras over newer versions
# Local # Local
_maybe_set -p PATH "$HOME/Library/Python/2.7/bin" _maybe_set -p PATH "$HOME/Library/Python/2.7/bin"
_maybe_set -p PATH "$HOME/Library/Python/3.8/bin"
_maybe_set -p PATH "$HOME/Library/Python/3.9/bin" _maybe_set -p PATH "$HOME/Library/Python/3.9/bin"
_maybe_set -p PATH "$HOME/Library/Python/3.10/bin"
# set -gx PYTHONPATH $HOME/Library/Python/2.7/lib/python/site-packages:$PYTHONPATH # set -gx PYTHONPATH $HOME/Library/Python/2.7/lib/python/site-packages:$PYTHONPATH
# Macports # Macports
_maybe_set -a PATH /opt/local/Library/Frameworks/Python.framework/Versions/Current/bin _maybe_set -a PATH /opt/local/Library/Frameworks/Python.framework/Versions/Current/bin