MacOS support #7
GuardKenzie
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @fxcoudert, @chenrui333 -- I noticed you've been maintaining Chafa for Homebrew. Thanks a ton for that! Do you know someone who'd be interested in helping @GuardKenzie, or maybe packaging chafa.py? Neither of us has a Mac at the moment, but it'd be cool to have Python bindings there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to get chafa.py to support MacOS since chafa does, however, this is proving to be a bit of a challenge. If anyone is interested in helping out or has any ideas, please reply to this discussion thread. After doing some reading on using ctypes with homebrew and this is the conclusion:
The mess
After apple introduced Apple silicon, homebrew moved the installation location of libraries from
/usr/local
to/opt/homebrew
(See this discussion). The Pythonctypes
library does not search for.dylib
files in this path but homebrew seems to ship a patched version of python which does (See this discussion and this stack overflow post)I can see two ways of moving forwards:
libchafa
andlibglib-2.0
in/opt/homebrew
(I'm leaning towards this solution)Beta Was this translation helpful? Give feedback.
All reactions