diff --git a/.appveyor.yml b/.appveyor.yml index 29fb71ad2..84f85c23a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,7 +30,7 @@ install: # - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" # Checking stdint.h - - ps: "ls \"C:/projects/spacy/include\"" + - ps: "ls \"C:/projects/spacy/include/\"" # Check that we have the expected version and architecture for Python diff --git a/appveyor/install.ps1 b/appveyor/install.ps1 index ea9adbdf2..22b986d0d 100644 --- a/appveyor/install.ps1 +++ b/appveyor/install.ps1 @@ -9,7 +9,7 @@ $BASE_URL = "https://www.python.org/ftp/python/" $GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py" $GET_PIP_PATH = "C:\get-pip.py" $STDINT_H_URL = "http://msinttypes.googlecode.com/svn/trunk/stdint.h" -$STDINT_RELATIVE_PATH = "include" +$STDINT_H_RELATIVE_PATH = "include" $PYTHON_PRERELEASE_REGEX = @" (?x) @@ -230,9 +230,10 @@ function InstallStdintH ($python_version) { if ($major -le 2) { if((Test-Path $STDINT_RELATIVE_PATH) -eq 0) { - mkdir $STDINT_RELATIVE_PATH; + mkdir $STDINT_H_RELATIVE_PATH; } - Download $STDINT_RELATIVE_PATH + "\stdint.h" $STDINT_H_URL + $stdint_h_fname = $STDINT_H_RELATIVE_PATH + "\stdint.h" + Download $stdint_h_fname $STDINT_H_URL } else { Write-Host $python_version " uses C99 compliant Microsoft compiler. stdint.h download is not required." }