-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
On macOS, /usr/local/include and /usr/local/lib are not automatically searched so pip install sox bindings fails.
I have fixed this by git cloning the soxbindings repo and making the following changes to the setup.py file:
% git diff setup.py
diff --git a/setup.py b/setup.py
index 3ee9d8c..8b2c894 100644
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,10 @@ ext_modules = [
include_dirs=[
# Path to pybind11 headers
get_pybind_include(),
+ "/usr/local/include",
+ ],
+ library_dirs=[
+ "/usr/local/lib",
],
language='c++'
),nlharri
Metadata
Metadata
Assignees
Labels
No labels