/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
7290.18.1 by Jelmer Vernooij
Add appveyor configuration.
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/CythonExtensionsOnWindows
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 %*