Merge pull request #47 from decaz/py38

Support Python 3.8
This commit is contained in:
MISAWA Yoshihiro 2019-11-18 12:53:20 +09:00 committed by GitHub
commit 58d089536c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 5 deletions

View file

@ -20,12 +20,16 @@ matrix:
env: TOXENV=py37
dist: xenial
sudo: true
- python: '3.8-dev'
- python: 3.8
env: TOXENV=py38
dist: xenial
sudo: true
env: TOXENV=py38
- python: '3.9-dev'
dist: xenial
sudo: true
env: TOXENV=py39
allow_failures:
- python: 3.8-dev
- python: 3.9-dev
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules

View file

@ -6,6 +6,7 @@ CHANGES
- update language models (uchardet)
- add iso8859-2 test but disabled it
- support Python 3.8
2.1.4 (2018-09-27)
------------------

View file

@ -5,12 +5,14 @@ environment:
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"
install:
- "git submodule update --init --recursive"

View file

@ -4,7 +4,7 @@ set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"
for V in cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
PYBIN=/opt/python/$V/bin
rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc
$PYBIN/pip install -r requirements-dev.txt

View file

@ -135,6 +135,7 @@ setup(
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords=[
'cython',

View file

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