mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
remove 7.1a dependency
This commit is contained in:
parent
b7120d56f1
commit
e0dd636e2c
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user