File tree Expand file tree Collapse file tree 2 files changed +21
-180
lines changed
Expand file tree Collapse file tree 2 files changed +21
-180
lines changed Original file line number Diff line number Diff line change 1+ @ echo off
2+ :: To build extensions for 64 bit Python 3, we need to configure environment
3+ :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
4+ :: MS Windows SDK for Windows 7 and .NET Framework 4
5+ ::
6+ :: More details at:
7+ :: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
8+
9+ IF " %DISTUTILS_USE_SDK% " == " 1" (
10+ ECHO Configuring environment to build with MSVC on a 64bit architecture
11+ ECHO Using Windows SDK 7.1
12+ " C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
13+ CALL " C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
14+ SET MSSdk = 1
15+ REM Need the following to allow tox to see the SDK compiler
16+ SET TOX_TESTENV_PASSENV = DISTUTILS_USE_SDK MSSdk INCLUDE LIB
17+ ) ELSE (
18+ ECHO Using default MSVC build environment
19+ )
20+
21+ CALL %*
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments