Codebase list python-msgpack / 3a09885
Remove code and tests for unsupported Python 3.3 and 3.4 (#249) Hugo authored 6 years ago INADA Naoki committed 6 years ago
5 changed file(s) with 6 addition(s) and 34 deletion(s). Raw diff Collapse all Expand all
33
44 python:
55 - "2.7"
6 - "3.3"
7 - "3.4"
86 - "3.5"
97 - "3.6"
108 - "3.7-dev"
2222
2323 test_script:
2424 # Put your test command here.
25 # If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
26 # you can remove "build.cmd" from the front of the command, as it's
27 # only needed to support those cases.
2825 # Note that you must use the environment variable %PYTHON% to refer to
2926 # the interpreter you're using - Appveyor does not do anything special
3027 # to put the Python version you want to use on PATH.
31 - "build.cmd %PYTHON%\\python.exe setup.py build_ext -i"
32 - "build.cmd %PYTHON%\\python.exe setup.py install"
28 - "%PYTHON%\\python.exe setup.py build_ext -i"
29 - "%PYTHON%\\python.exe setup.py install"
3330 - "%PYTHON%\\python.exe -c \"import sys; print(hex(sys.maxsize))\""
3431 - "%PYTHON%\\python.exe -c \"from msgpack import _packer, _unpacker\""
3532 - "%PYTHON%\\Scripts\\py.test test"
36 - "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
33 - "%PYTHON%\\python.exe setup.py bdist_wheel"
3734
3835 after_test:
3936 # This step builds your wheels.
40 # Again, you only need build.cmd if you're building C extensions for
41 # 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
42 # interpreter
37 # Again, you need to use %PYTHON% to get the correct interpreter
4338
4439 artifacts:
4540 # bdist_wheel puts your built wheel in the dist directory
+0
-21
build.cmd less more
0 @echo off
1 :: To build extensions for 64 bit Python 3, we need to configure environment
2 :: 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
4 ::
5 :: More details at:
6 :: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
7
8 IF "%DISTUTILS_USE_SDK%"=="1" (
9 ECHO Configuring environment to build with MSVC on a 64bit architecture
10 ECHO Using Windows SDK 7.1
11 "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
12 CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
13 SET MSSdk=1
14 REM Need the following to allow tox to see the SDK compiler
15 SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
16 ) ELSE (
17 ECHO Using default MSVC build environment
18 )
19
20 CALL %*
00 #!/bin/bash
11 set -e -x
22
3 for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
3 for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
44 PYBIN=/opt/python/$V/bin
55 $PYBIN/python setup.py install
66 rm -rf build/ # Avoid lib build by narrow Python is used by wide python
00 [tox]
1 envlist = {py27,py33,py34,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
1 envlist = {py27,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
22
33 [variants:pure]
44 setenv=