Appveyor build #5

Added Wordnet download
This commit is contained in:
maxirmx 2015-10-13 10:11:56 +03:00
parent bf963c3cce
commit 237db7f519
2 changed files with 7 additions and 1 deletions

View File

@ -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:

View File

@ -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: