Improve unversioned python location specification
brew --prefix python errors out when the python package is not installed, so using that instead of brew --prefix prevents python package installation issues from silently breaking, for example, shell env scripts that add this to $PATH. See https://github.com/orgs/Homebrew/discussions/3596#discussioncomment-5050569
This commit is contained in:
parent
7e48ed50f7
commit
5b80085837
@ -23,7 +23,7 @@ The executables are organised as follows:
|
|||||||
Unversioned symlinks for `python`, `python-config`, `pip` etc. are installed here:
|
Unversioned symlinks for `python`, `python-config`, `pip` etc. are installed here:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$(brew --prefix)/opt/python/libexec/bin
|
$(brew --prefix python)/libexec/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setuptools, pip, etc.
|
## Setuptools, pip, etc.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user