remove 7.1a dependency

This commit is contained in:
nulano 2019-12-31 15:36:16 +01:00 committed by Andrew Murray
parent b7120d56f1
commit e0dd636e2c
2 changed files with 8 additions and 6 deletions

View File

@ -74,6 +74,8 @@ jobs:
xcopy ..\pillow-depends\*.tar.gz $env:GITHUB_WORKSPACE\winbuild\depends\
xcopy /s ..\pillow-depends\test_images\* $env:GITHUB_WORKSPACE\tests\images\
cd $env:GITHUB_WORKSPACE/winbuild/
# reg query "HKLM\Software\Microsoft\Microsoft SDKs\Windows" /s
ls 'C:\Program Files (x86)\Microsoft SDKs\Windows\'
python.exe $env:GITHUB_WORKSPACE\winbuild\build_prepare.py
shell: pwsh

View File

@ -410,11 +410,11 @@ if __name__ == "__main__":
print("Found Visual Studio at: {}".format(vs2017["vs_dir"]))
sdk71a = find_sdk71a()
if sdk71a is None:
raise RuntimeError("Windows SDK v7.1A not found")
print("Found Windows SDK 7.1A at: {}".format(sdk71a["sdk_dir"]))
# sdk71a = find_sdk71a()
# if sdk71a is None:
# raise RuntimeError("Windows SDK v7.1A not found")
#
# print("Found Windows SDK 7.1A at: {}".format(sdk71a["sdk_dir"]))
build_dir = os.path.join(script_dir, "build", config_name, architecture)
lib_dir = os.path.join(build_dir, "lib")
@ -441,7 +441,7 @@ if __name__ == "__main__":
"cmake": "cmake.exe",
}
dicts = [vs2017, sdk71a, arch_prefs, python_prefs, config]
dicts = [vs2017, arch_prefs, python_prefs, config]
for x in dicts:
prefs.update(x)
prefs["header"] = sum((x.get("header", []) for x in dicts), header)