Skip to content

Commit

Permalink
Fix for bug in wdk for building Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Sep 18, 2015
1 parent 7636611 commit 09a1c86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions appveyor/run_with_env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,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.
Expand All @@ -55,6 +56,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%"
Expand Down

0 comments on commit 09a1c86

Please sign in to comment.