Skip to content

Commit

Permalink
setup-python: fix incompat between mac and ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Aug 23, 2023
1 parent b0743ff commit 27e15a4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions commands/setup-python
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,13 @@ function setup_python() (

# install pip
echo-segment --h3="install pip"
eval-helper --quiet \
-- "$bin" "$pip_installer" --user # --break-system-packages doesn't exist here
if is-mac; then
eval-helper --quiet \
-- "$bin" "$pip_installer" --user
else
eval-helper --quiet \
-- "$bin" "$pip_installer" --user --break-system-packages
fi
echo-segment --g3="install pip"
source "$DOROTHY/sources/environment.sh"

Expand Down

0 comments on commit 27e15a4

Please sign in to comment.