Reputation: 15099
I'm trying to install gtk-mac-integration which, as far as I understand, doesn't depend on python3 (python2 should be enough), but nevertheless brew keeps insisting on installing python3. I don't want to install python3, so unless I'm wrongly understanding the formula of gtk-mac-integration
, python2 should be more than enough.
Why is brew trying to install python3?
How can I brew install gtk-mac-integration
without python3?
Upvotes: 0
Views: 386
Reputation: 19810
gtk-mac-integration
doesn’t directly depend on python3
, but one of its dependencies do.
If you run brew deps --tree gtk-mac-integration
, you’ll get something like this (truncated):
gtk-mac-integration (required dependencies)
...
└── gtk+3
...
├── libepoxy
│ ...
│ ├── meson
│ │ ├── :python3
│ │ ...
... ...
gtk-mac-integration
thus depends on gtk+3
, which itself depends on libepoxy
, which depends on meson
, which needs python3
.
Running brew info
on these formulae doesn’t give show any option that’d allow us to avoid installing python3
. You thus can’t install gtk-mac-integration
without python3
.
Edit: gtk+3
is a recommended dependency; meaning you can build without it if you don’t need it:
brew install gtk-mac-integration --without-gtk+3
Upvotes: 1