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
commitfc296af810b4b08276d33baf4d8ea37041d49581 (patch)
treec8e1e424eba2254b2da940036bf001a1bc0a9dd4 /ci
parente3ca0dab1bdbca781db9edaf1d36906e2340dc9d (diff)
downloadpython-coveragepy-git-fc296af810b4b08276d33baf4d8ea37041d49581.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 b287e479..66b9252e 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%"