Skip to content
Myr

Merge branch 'master' of github.com:mitsuhiko/click

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 262c275, 1d1a111 · Browse files · 4 files+99 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+99 added−1 removed

  • tests:+1 added−1 removed
  • other:+98 added−0 removed

4 files+99 added−1 removed

added:.ci/appveyor.yml+50 added
added:.ci/run_with_env.cmd+47 added
1:: To build extensions for 64 bit Python 3, we need to configure environment2:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:3:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)4::5:: To build extensions for 64 bit Python 2, we need to configure environment6:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:7:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)8::9:: 32 bit builds do not require specific environment configurations.10::11:: Note: this script needs to be run with the /E:ON and /V:ON flags for the12:: cmd interpreter, at least for (SDK v7.0)13::14:: More details at:15:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows16:: http://stackoverflow.com/a/13751649/16374017::18:: Author: Olivier Grisel19:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/20@ECHO OFF2122SET COMMAND_TO_RUN=%*23SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows2425SET MAJOR_PYTHON_VERSION="%PYTHON_VERSION:~0,1%"26IF %MAJOR_PYTHON_VERSION% == "2" (27 SET WINDOWS_SDK_VERSION="v7.0"28) ELSE IF %MAJOR_PYTHON_VERSION% == "3" (29 SET WINDOWS_SDK_VERSION="v7.1"30) ELSE (31 ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"32 EXIT 133)3435IF "%PYTHON_ARCH%"=="64" (36 ECHO Configuring Windows SDK %WINDOWS_SDK_VERSION% for Python %MAJOR_PYTHON_VERSION% on a 64 bit architecture37 SET DISTUTILS_USE_SDK=138 SET MSSdk=139 "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION%40 "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release41 ECHO Executing: %COMMAND_TO_RUN%42 call %COMMAND_TO_RUN% || EXIT 143) ELSE (44 ECHO Using default MSVC build environment for 32 bit architecture45 ECHO Executing: %COMMAND_TO_RUN%46 call %COMMAND_TO_RUN% || EXIT 147)
modified:tests/test_arguments.py+1 added-1 removed
235 unmodified lines
236 click.echo(arg)237238 result = runner.invoke(cmd, ['a', 'b', 'c'])239 assert result.output.splitlines() == [240 PY2 and "(u'a',)" or "('a')",240 PY2 and "(u'a',)" or "('a',)",241 'b',242 'c',243 ]244
16 unmodified lines
modified:.travis.yml+1 added