diff --git a/.manylinux-install.sh b/.manylinux-install.sh index 325eb52..dc715e0 100755 --- a/.manylinux-install.sh +++ b/.manylinux-install.sh @@ -8,7 +8,9 @@ for PYBIN in /opt/python/*/bin; do if [[ "${PYBIN}" == *"cp27"* ]] || \ [[ "${PYBIN}" == *"cp36"* ]] || \ [[ "${PYBIN}" == *"cp37"* ]] || \ - [[ "${PYBIN}" == *"cp38"* ]]; + [[ "${PYBIN}" == *"cp38"* ]] || \ + [[ "${PYBIN}" == *"cp39"* ]]; + [[ "${PYBIN}" == *"cp310"* ]]; then "${PYBIN}/pip" install tox "${PYBIN}/pip" install -U cython @@ -29,7 +31,9 @@ for PYBIN in /opt/python/*/bin; do if [[ "${PYBIN}" == *"cp27"* ]] || \ [[ "${PYBIN}" == *"cp36"* ]] || \ [[ "${PYBIN}" == *"cp37"* ]] || \ - [[ "${PYBIN}" == *"cp38"* ]]; + [[ "${PYBIN}" == *"cp38"* ]] || \ + [[ "${PYBIN}" == *"cp39"* ]]; + [[ "${PYBIN}" == *"cp310* ]]; then "${PYBIN}/pip" uninstall -y python-crfsuite "${PYBIN}/pip" install python-crfsuite --no-index -f /io/wheelhouse diff --git a/.travis.yml b/.travis.yml index 8ed7300..3331e61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ language: python matrix: include: + - os: linux + python: '3.10' + env: TOXENV=py10 + - os: linux + python: 3.9 + env: TOXENV=py39 - os: linux python: 3.8 env: TOXENV=py38 @@ -13,6 +19,16 @@ matrix: - os: linux python: 2.7 env: TOXENV=py27 + - os: osx + language: generic + env: + - PYTHON='3.10.0' + - TOXENV=py310 + - os: osx + language: generic + env: + - PYTHON='3.9.0' + - TOXENV=py39 - os: osx language: generic env: @@ -20,17 +36,17 @@ matrix: - TOXENV=py38 - os: osx language: generic - env: + env: - PYTHON='3.7.7' - - TOXENV=py37 + - TOXENV=py37 - os: osx language: generic - env: + env: - PYTHON='3.6.2' - TOXENV=py36 - os: osx language: generic - env: + env: - PYTHON='2.7.13' - TOXENV=py27 - sudo: required @@ -91,7 +107,7 @@ script: - tox after_success: -- pip install wheel twine +- pip install wheel twine - if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then python -W ignore setup.py bdist_wheel; twine upload dist/*; diff --git a/appveyor.yml b/appveyor.yml index ce62d7f..6e9426d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,10 +8,14 @@ environment: - python : 27-x64 - python : 36 - python : 36-x64 - - python : 37 - - python : 37-x64 + - python : 37 + - python : 37-x64 - python : 38 - python : 38-x64 + - python : 39 + - python : 39-x64 + - python : 310 + - python : 310-x64 install: - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%" diff --git a/setup.py b/setup.py index 952053e..7f8ef4c 100755 --- a/setup.py +++ b/setup.py @@ -68,6 +68,8 @@ def c_compile(obj, src, ext, cc_args, extra_postargs, pp_opts): "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering",