From: Oleg Broytman Date: Fri, 1 Feb 2019 20:24:36 +0000 (+0300) Subject: Python 3.7 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ae876aff04182070cab37ec32feda22af8603ee7;p=cookiecutter.git Python 3.7 --- diff --git a/project_template/.travis.yml b/project_template/.travis.yml index 1ac2757..d78fc85 100644 --- a/project_template/.travis.yml +++ b/project_template/.travis.yml @@ -26,10 +26,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 - python: "pypy" env: TOXENV=pypy diff --git a/project_template/appveyor.yml b/project_template/appveyor.yml index 3cf8282..1078998 100644 --- a/project_template/appveyor.yml +++ b/project_template/appveyor.yml @@ -56,6 +56,14 @@ environment: PYTHON_VERSION: "3.6" PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python36-x64" + - TOXENV: "py37" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python37" + - TOXENV: "py37" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python37-x64" install: # Ensure we use the right python version diff --git a/project_template/setup.py b/project_template/setup.py index 7e8df8d..2ca49ae 100755 --- a/project_template/setup.py +++ b/project_template/setup.py @@ -44,6 +44,7 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ], packages=['{project}'], package_data={'{project}': []}, diff --git a/project_template/tox.ini b/project_template/tox.ini index 2164f05..f3eceaa 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 2.0 toxworkdir={homedir}/.tox/{project} -envlist = py27,py3{4,5,6},py{27,34}-flake8 +envlist = py27,py3{4,5,6,7},py{27,37}-flake8 # Base test environment settings [testenv] @@ -10,6 +10,7 @@ basepython = py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + py37: {env:TOXPYTHON:python3.7} pypy: {env:TOXPYTHON:pypy} commands = {envpython} --version @@ -43,6 +44,10 @@ commands = commands = {[general]commands} +[testenv:py37] +commands = + {[general]commands} + [testenv:py27-flake8] deps = flake8 @@ -50,7 +55,7 @@ commands = {[testenv]commands} flake8 -[testenv:py34-flake8] +[testenv:py37-flake8] deps = flake8 commands =