Skip to content

Commit b458e9a

Browse files
terencehonlesmethane
authored andcommitted
update for Python 3.8 (#374)
1 parent 997b524 commit b458e9a

File tree

6 files changed

+22
-3
lines changed

6 files changed

+22
-3
lines changed

appveyor.yml

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ test_script:
2929
- ci\\runtests.bat
3030
- set PYTHON="C:\\Python37-x64"
3131
- ci\\runtests.bat
32+
- set PYTHON="C:\\Python38"
33+
- ci\\runtests.bat
34+
- set PYTHON="C:\\Python38-x64"
35+
- ci\\runtests.bat
3236

3337
after_test:
3438
# This step builds your wheels.

docker/buildwheel.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!/bin/bash
2+
DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
source "$DOCKER_DIR/shared.env"
4+
25
set -e -x
36

47
ARCH=`uname -p`
58
echo "arch=$ARCH"
69

7-
for V in cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
10+
for V in "${PYTHON_VERSIONS[@]}"; do
811
PYBIN=/opt/python/$V/bin
912
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
1013
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}

docker/runtests.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/bin/bash
2+
DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3+
source "$DOCKER_DIR/shared.env"
4+
25
set -e -x
36

4-
for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
7+
for V in "${PYTHON_VERSIONS[@]}"; do
58
PYBIN=/opt/python/$V/bin
69
$PYBIN/python setup.py install
710
rm -rf build/ # Avoid lib build by narrow Python is used by wide python

docker/shared.env

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
PYTHON_VERSIONS=(
2+
cp38-cp38
3+
cp37-cp37m
4+
cp36-cp36m
5+
cp35-cp35m
6+
cp27-cp27m
7+
cp27-cp27mu
8+
)

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def __init__(self, *args, **kwargs):
128128
'Programming Language :: Python :: 3.5',
129129
'Programming Language :: Python :: 3.6',
130130
'Programming Language :: Python :: 3.7',
131+
'Programming Language :: Python :: 3.8',
131132
'Programming Language :: Python :: Implementation :: CPython',
132133
'Programming Language :: Python :: Implementation :: PyPy',
133134
'Intended Audience :: Developers',

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py27,py35,py36,py37}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
2+
envlist = {py27,py35,py36,py37,py38}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
33

44
[variants:pure]
55
setenv=

0 commit comments

Comments
 (0)