Appveyor clean build #3

This commit is contained in:
maxirmx 2015-10-12 23:18:42 +03:00
parent ec8e622cec
commit 3069929c25
2 changed files with 5 additions and 4 deletions

View File

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

View File

@ -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."
}