Skip to content

Commit

Permalink
Use Homebrew's python3.12 explicitly
Browse files Browse the repository at this point in the history
Passing in `python3.12` instead of an absolute path allows other
installations of Python 3.12 (e.g., with `pyenv`) to be used instead of
the intended package.
  • Loading branch information
aphedges authored and acabal committed Dec 30, 2024
1 parent a1b338a commit e89c12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ln -s $(pipx environment --value PIPX_LOCAL_VENVS)/standardebooks/lib/python3.*/
sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

# Install the toolset.
pipx install --python python3.12 standardebooks
pipx install --python "$(brew --prefix)"/bin/python3.12 standardebooks

# Optional: Bash users who have set up bash-completion via brew can install tab completion.
ln -s $(pipx environment --value PIPX_LOCAL_VENVS)/standardebooks/lib/python3.*/site-packages/se/completions/bash/se $(brew --prefix)/etc/bash_completion.d/se
Expand Down

0 comments on commit e89c12d

Please sign in to comment.