zbyszek / rpms / pyhunspell

Forked from rpms/pyhunspell 6 years ago
Clone
Blob Blame History Raw
From bd200fcdd11dbab6c5624381ca8918855dcfd75d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Latinier?= <benoit@latinier.fr>
Date: Sat, 27 Jan 2018 00:31:08 +0100
Subject: [PATCH 02/12] try some MacOS fix

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 59ebe33..b698f2d 100755
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ if platform.system() == "Windows":
 else:
     main_module_kwargs['macros'] = [('_LINUX', None)]
     main_module_kwargs['libraries'] = ['hunspell']
-    main_module_kwargs['include_dirs'] = '/usr/include/hunspell',
+    main_module_kwargs['include_dirs'] = ['/usr/include/hunspell', '/usr/local/Cellar/hunspell/1.6.2/include/hunspell'],
     main_module_kwargs['compile_args'] = ['-Wall']
 
 main = Extension('hunspell', **main_module_kwargs)
-- 
2.14.3