mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Remove code and tests for unsupported Python 3.3 and 3.4 (#249)
This commit is contained in:
parent
1985eb7618
commit
3a098851be
5 changed files with 6 additions and 34 deletions
|
|
@ -4,8 +4,6 @@ cache: pip
|
|||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7-dev"
|
||||
|
|
|
|||
13
appveyor.yml
13
appveyor.yml
|
|
@ -23,24 +23,19 @@ build: off
|
|||
|
||||
test_script:
|
||||
# Put your test command here.
|
||||
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
|
||||
# you can remove "build.cmd" from the front of the command, as it's
|
||||
# only needed to support those cases.
|
||||
# Note that you must use the environment variable %PYTHON% to refer to
|
||||
# the interpreter you're using - Appveyor does not do anything special
|
||||
# to put the Python version you want to use on PATH.
|
||||
- "build.cmd %PYTHON%\\python.exe setup.py build_ext -i"
|
||||
- "build.cmd %PYTHON%\\python.exe setup.py install"
|
||||
- "%PYTHON%\\python.exe setup.py build_ext -i"
|
||||
- "%PYTHON%\\python.exe setup.py install"
|
||||
- "%PYTHON%\\python.exe -c \"import sys; print(hex(sys.maxsize))\""
|
||||
- "%PYTHON%\\python.exe -c \"from msgpack import _packer, _unpacker\""
|
||||
- "%PYTHON%\\Scripts\\py.test test"
|
||||
- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
|
||||
- "%PYTHON%\\python.exe setup.py bdist_wheel"
|
||||
|
||||
after_test:
|
||||
# This step builds your wheels.
|
||||
# Again, you only need build.cmd if you're building C extensions for
|
||||
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
|
||||
# interpreter
|
||||
# Again, you need to use %PYTHON% to get the correct interpreter
|
||||
|
||||
artifacts:
|
||||
# bdist_wheel puts your built wheel in the dist directory
|
||||
|
|
|
|||
21
build.cmd
21
build.cmd
|
|
@ -1,21 +0,0 @@
|
|||
@echo off
|
||||
:: To build extensions for 64 bit Python 3, we need to configure environment
|
||||
:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
|
||||
:: MS Windows SDK for Windows 7 and .NET Framework 4
|
||||
::
|
||||
:: More details at:
|
||||
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
|
||||
|
||||
IF "%DISTUTILS_USE_SDK%"=="1" (
|
||||
ECHO Configuring environment to build with MSVC on a 64bit architecture
|
||||
ECHO Using Windows SDK 7.1
|
||||
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
|
||||
CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
|
||||
SET MSSdk=1
|
||||
REM Need the following to allow tox to see the SDK compiler
|
||||
SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
|
||||
) ELSE (
|
||||
ECHO Using default MSVC build environment
|
||||
)
|
||||
|
||||
CALL %*
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e -x
|
||||
|
||||
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
||||
for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
|
||||
PYBIN=/opt/python/$V/bin
|
||||
$PYBIN/python setup.py install
|
||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = {py27,py33,py34,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
||||
envlist = {py27,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
||||
|
||||
[variants:pure]
|
||||
setenv=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue