We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
homebrew
1 parent f20bf22 commit 17dc80eCopy full SHA for 17dc80e
setup.py
@@ -271,6 +271,14 @@ def find_library(header):
271
return True, None, None
272
print(f"{searching_for}. Didn't find in {prefix}")
273
274
+ if sys.platform == "darwin":
275
+ HOMEBREW_PATH = Path("/opt/homebrew")
276
+ include_dir = HOMEBREW_PATH / "include"
277
+ library_dir = HOMEBREW_PATH / "lib"
278
+ if (include_dir / header).exists():
279
+ print(f"{searching_for}. Found in {include_dir}.")
280
+ return True, str(include_dir), str(library_dir)
281
+
282
return False, None, None
283
284
0 commit comments