fix: Python package location on macOS
Legit I have no idea why it's unset by default
This commit is contained in:
parent
2714811cc3
commit
9fc857fe69
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ fi
|
||||||
|
|
||||||
# -- Path
|
# -- Path
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
export PYTHONPATH="$HOME/Library/Python/3.10/lib:$PYTHONPATH"
|
||||||
LOCAL_PATH=$(du "$HOME/.local/bin/" | cut -f2 > /tmp/path && paste -sd ':' /tmp/path)
|
LOCAL_PATH=$(du "$HOME/.local/bin/" | cut -f2 > /tmp/path && paste -sd ':' /tmp/path)
|
||||||
LOCAL_PATH="$HOME/Library/Python/3.10/bin:$LOCAL_PATH"
|
LOCAL_PATH="$HOME/Library/Python/3.10/bin:$LOCAL_PATH"
|
||||||
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
|
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue