mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Fix platform condition re Issue #138
This commit is contained in:
parent
6e0f985afc
commit
710e8fb168
2
setup.py
2
setup.py
|
@ -179,7 +179,7 @@ VERSION = '0.95'
|
||||||
def main(modules, is_pypy):
|
def main(modules, is_pypy):
|
||||||
language = "cpp"
|
language = "cpp"
|
||||||
includes = ['.', path.join(sys.prefix, 'include')]
|
includes = ['.', path.join(sys.prefix, 'include')]
|
||||||
if sys.prefix == 'darwin':
|
if sys.platform.startswith('darwin'):
|
||||||
compile_options['other'].append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
compile_options['other'].append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
||||||
link_opions['other'].append('-lc++')
|
link_opions['other'].append('-lc++')
|
||||||
if use_cython:
|
if use_cython:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user