Support Python 3.6

This commit is contained in:
PyYoshi 2017-01-08 12:06:33 +09:00
parent 217e2b24c7
commit 5a5b28f4e1
4 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,7 @@ env:
- TOXENV=py27 - TOXENV=py27
- TOXENV=py34 - TOXENV=py34
- TOXENV=py35 - TOXENV=py35
- TOXENV=py36
install: install:
- pip install -U tox nose cython - pip install -U tox nose cython

View file

@ -3,10 +3,12 @@ environment:
- PYTHON: "C:\\Python27" - PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python34" - PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35" - PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1" DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
install: install:
- "%PYTHON%\\python.exe -m pip install -U pip wheel nose cython" - "%PYTHON%\\python.exe -m pip install -U pip wheel nose cython"

View file

@ -4,7 +4,7 @@ set -e -x
ARCH=`uname -p` ARCH=`uname -p`
echo "arch=$ARCH" echo "arch=$ARCH"
for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
PYBIN=/opt/python/$V/bin PYBIN=/opt/python/$V/bin
rm -rf build/ # Avoid lib build by narrow Python is used by wide python rm -rf build/ # Avoid lib build by narrow Python is used by wide python
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH} $PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27, py34, py35 envlist = py27, py34, py35, py36
[testenv] [testenv]
commands = commands =