Support Python 3.6
This commit is contained in:
parent
217e2b24c7
commit
5a5b28f4e1
4 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,7 @@ env:
|
|||
- TOXENV=py27
|
||||
- TOXENV=py34
|
||||
- TOXENV=py35
|
||||
- TOXENV=py36
|
||||
|
||||
install:
|
||||
- pip install -U tox nose cython
|
||||
|
|
|
@ -3,10 +3,12 @@ environment:
|
|||
- PYTHON: "C:\\Python27"
|
||||
- PYTHON: "C:\\Python34"
|
||||
- PYTHON: "C:\\Python35"
|
||||
- PYTHON: "C:\\Python36"
|
||||
- PYTHON: "C:\\Python27-x64"
|
||||
- PYTHON: "C:\\Python34-x64"
|
||||
DISTUTILS_USE_SDK: "1"
|
||||
- PYTHON: "C:\\Python35-x64"
|
||||
- PYTHON: "C:\\Python36-x64"
|
||||
|
||||
install:
|
||||
- "%PYTHON%\\python.exe -m pip install -U pip wheel nose cython"
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e -x
|
|||
ARCH=`uname -p`
|
||||
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
|
||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py27, py34, py35
|
||||
envlist = py27, py34, py35, py36
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
|
|
Loading…
Reference in a new issue