From 7ec8811ea1e63e85f95a766095cb2479a52dc756 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 31 Jan 2019 22:45:19 +0300 Subject: [PATCH] Python 3.7 --- .travis.yml | 8 ++++++-- appveyor.yml | 8 ++++++++ setup.py | 1 + tox.ini | 4 ++-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47bf07d..bc2f574 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,14 @@ matrix: env: TOXENV=py35 - python: "3.6" env: TOXENV=py36 + - python: "3.7" + dist: xenial + env: TOXENV=py37 - python: "2.7" env: TOXENV=py27-flake8 - - python: "3.4" - env: TOXENV=py34-flake8 + - python: "3.7" + dist: xenial + env: TOXENV=py37-flake8 install: - travis_retry pip install --upgrade pip setuptools tox ppu diff --git a/appveyor.yml b/appveyor.yml index 128ac37..41b1cb2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,6 +35,14 @@ environment: PYTHON_VERSION: "3.6" PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python36-x64" + - TOXENV: "py37-sqlite-w32" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python37" + - TOXENV: "py37-sqlite-w32" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python37-x64" install: # Ensure we use the right python version diff --git a/setup.py b/setup.py index 158bcd4..f6779b1 100755 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ], packages=['m_librarian', 'm_librarian.web'], package_data={'m_librarian': [ diff --git a/tox.ini b/tox.ini index 5e2f6b2..620b522 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py{27,34,35,36,37},py{27,34}-flake8 +envlist = py{27,34,35,36,37},py{27,37}-flake8 # Base test environment settings [testenv] @@ -75,7 +75,7 @@ commands = {[testenv]commands} flake8 -[testenv:py34-flake8] +[testenv:py37-flake8] deps = flake8 commands = -- 2.39.5