summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-17 20:40:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-17 20:40:51 -0400
commitb5e6bc289f48328a6306263e9c460cbd3233c7dd (patch)
treefb9fa67206655bd34b47f66c7587b4a41b980bb6 /ci
parent08d07b93fbb0f0491d177fa233b1bfe8e691ac9c (diff)
downloadpython-coveragepy-b5e6bc289f48328a6306263e9c460cbd3233c7dd.tar.gz
Latest appveyor support to fix 3.5 build issue
Diffstat (limited to 'ci')
-rw-r--r--ci/run_with_env.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/run_with_env.cmd b/ci/run_with_env.cmd
index b287e47..66b9252 100644
--- a/ci/run_with_env.cmd
+++ b/ci/run_with_env.cmd
@@ -36,6 +36,7 @@
SET COMMAND_TO_RUN=%*
SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
+SET WIN_WDK=c:\Program Files (x86)\Windows Kits\10\Include\wdf
:: Extract the major and minor versions, and allow for the minor version to be
:: more than 9. This requires the version number to have two dots in it.
@@ -58,6 +59,10 @@ IF %MAJOR_PYTHON_VERSION% == 2 (
SET SET_SDK_64=Y
) ELSE (
SET SET_SDK_64=N
+ IF EXIST "%WIN_WDK%" (
+ :: See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
+ REN "%WIN_WDK%" 0wdf
+ )
)
) ELSE (
ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"