diff --git a/.appveyor.yml b/.appveyor.yml index 8fca2c0c2..308527bd1 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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: diff --git a/setup.py b/setup.py index e5c984aec..b74f3151e 100644 --- a/setup.py +++ b/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: