Skip to content

Commit

Permalink
setup: work around an issue in Poetry installation on macOS
Browse files Browse the repository at this point in the history
This issue occurs when Poetry is installed using Python shipped with
macOS. See
python-poetry/install.python-poetry.org#24 for
more information.
  • Loading branch information
noritada committed Sep 10, 2023
1 parent 4534208 commit 10b2a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ if !(type "go" > /dev/null 2>&1); then
sudo installer -pkg go1.21.0.darwin-arm64.pkg -target /
fi

# install Poetry (see https://python-poetry.org/docs/ )
curl -sSL https://install.python-poetry.org | python3 -
# install Poetry (see https://python-poetry.org/docs/ and
# https://github.com/python-poetry/install.python-poetry.org/issues/24 )
curl -sSL https://install.python-poetry.org | sed 's/symlinks=False/symlinks=True/' | python3 -

# install Rye (see https://rye-up.com/guide/installation/ )
if !(type "rye" > /dev/null 2>&1); then
Expand Down

0 comments on commit 10b2a6b

Please sign in to comment.