mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-11 08:33:10 +03:00
Appveyor clean build #3
This commit is contained in:
parent
ec8e622cec
commit
3069929c25
|
@ -30,7 +30,7 @@ install:
|
||||||
# - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
|
# - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
|
||||||
|
|
||||||
# Checking stdint.h
|
# 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
|
# Check that we have the expected version and architecture for Python
|
||||||
|
|
|
@ -9,7 +9,7 @@ $BASE_URL = "https://www.python.org/ftp/python/"
|
||||||
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
|
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
|
||||||
$GET_PIP_PATH = "C:\get-pip.py"
|
$GET_PIP_PATH = "C:\get-pip.py"
|
||||||
$STDINT_H_URL = "http://msinttypes.googlecode.com/svn/trunk/stdint.h"
|
$STDINT_H_URL = "http://msinttypes.googlecode.com/svn/trunk/stdint.h"
|
||||||
$STDINT_RELATIVE_PATH = "include"
|
$STDINT_H_RELATIVE_PATH = "include"
|
||||||
|
|
||||||
$PYTHON_PRERELEASE_REGEX = @"
|
$PYTHON_PRERELEASE_REGEX = @"
|
||||||
(?x)
|
(?x)
|
||||||
|
@ -230,9 +230,10 @@ function InstallStdintH ($python_version) {
|
||||||
if ($major -le 2) {
|
if ($major -le 2) {
|
||||||
if((Test-Path $STDINT_RELATIVE_PATH) -eq 0)
|
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 {
|
} else {
|
||||||
Write-Host $python_version " uses C99 compliant Microsoft compiler. stdint.h download is not required."
|
Write-Host $python_version " uses C99 compliant Microsoft compiler. stdint.h download is not required."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user