mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-09 16:10:33 +03:00
parent
bf963c3cce
commit
237db7f519
|
@ -52,6 +52,12 @@ install:
|
||||||
build_script:
|
build_script:
|
||||||
# Build the compiled extension
|
# Build the compiled extension
|
||||||
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
|
- "%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:
|
test_script:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -178,7 +178,7 @@ VERSION = '0.94'
|
||||||
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.platform.startswith('darwin'):
|
if sys.prefix == '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