-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python@*: fix post_install linkages and tweak caveats #57655
Conversation
@@ -223,11 +224,6 @@ def post_install | |||
(libexec/"bin").install_symlink (bin/versioned_name).realpath => unversioned_name | |||
end | |||
|
|||
# post_install happens after link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[email protected]
will no longer be linked into the prefix, so this should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point - I'll update my pull request to reflect this.
|
||
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to | ||
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into | ||
#{opt_libexec}/bin | ||
|
||
You can install Python packages with | ||
pip3 install <package> | ||
#{opt_bin}/pip3 install <package> | ||
They will install into the site-package directory | ||
#{HOMEBREW_PREFIX/"lib/python#{xy}/site-packages"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still true.
Oops, a little bit slow. #57654 |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?[email protected]
is now versioned keg-only, while[email protected]
now becomes the default python3 and is being linked into the prefix. Inpost_install
, linkages ofpip3
andwheel3
should be updated. And caveats also need some minor tweaks.Fixes #57651.