mirror of https://github.com/explosion/spaCy.git
parent
bf963c3cce
commit
237db7f519
|
@ -52,6 +52,12 @@ install:
|
|||
build_script:
|
||||
# Build the compiled extension
|
||||
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
|
||||
- "mkdir corpora\en"
|
||||
- "cd corpora\en"
|
||||
- "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz"
|
||||
- "tar -xzf WordNet-3.0.tar.gz"
|
||||
- "mv WordNet-3.0 wordnet"
|
||||
- "cd ../../"
|
||||
|
||||
|
||||
test_script:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -178,7 +178,7 @@ VERSION = '0.94'
|
|||
def main(modules, is_pypy):
|
||||
language = "cpp"
|
||||
includes = ['.', path.join(sys.prefix, 'include')]
|
||||
if sys.platform.startswith('darwin'):
|
||||
if sys.prefix == 'darwin':
|
||||
compile_options['other'].append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
||||
link_opions['other'].append('-lc++')
|
||||
if use_cython:
|
||||
|
|
Loading…
Reference in New Issue