@@ -97,7 +97,6 @@ def findboost(self, libsearch, includesearch, pyversion):
97
97
self .boostlib = "boost_python"
98
98
if os .path .exists ('/usr/local/opt/boost-python3' ):
99
99
#Mac OS X with homebrew
100
- self .boostlib = "boost_python3"
101
100
libsearch .insert (0 ,'/usr/local/opt/boost-python3/lib' )
102
101
libsearch .insert (0 ,'/usr/local/opt/boost/lib' )
103
102
includesearch .insert (0 ,'/usr/local/opt/boost/include' )
@@ -116,6 +115,10 @@ def findboost(self, libsearch, includesearch, pyversion):
116
115
self .boost_library_dir = d
117
116
self .boostlib = "boost_python"
118
117
break
118
+ elif os .path .exists (d + "/libboost_python" + pyversion + ".dylib" ): #Mac OS X
119
+ self .boost_library_dir = d
120
+ self .boostlib = "boost_python" + pyversion
121
+ break
119
122
elif os .path .exists (d + "/libboost_python3.dylib" ): #Mac OS X
120
123
self .boost_library_dir = d
121
124
self .boostlib = "boost_python3"
@@ -191,7 +194,7 @@ def build_extensions(self):
191
194
192
195
setup (
193
196
name = "python3-timbl" ,
194
- version = "2018.03.07 " ,
197
+ version = "2018.04.23 " ,
195
198
description = "Python 3 language binding for the Tilburg Memory-Based Learner" ,
196
199
author = "Sander Canisius, Maarten van Gompel" ,
197
200
0 commit comments