From a60732d963e5c9ce516c75e3fa199a717d4b659b Mon Sep 17 00:00:00 2001 From: Samuel Dion-Girardeau Date: Sun, 8 Jan 2017 19:24:10 -0500 Subject: [PATCH] Add support for python 3.6 - Changed the Dockerfile to use `python:3.6` base image; - Updated PyPI classifiers to include it; - Added it to tox/travis environments for CI. --- .travis.yml | 1 + Dockerfile | 2 +- README.rst | 2 +- setup.py | 1 + tox.ini | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e118237..fc2de17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: - "3.3" - "3.4" - "3.5" + - "3.6" sudo: false install: - pip install tox-travis diff --git a/Dockerfile b/Dockerfile index ad5336c..7ce87d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.5 +FROM python:3.6 ENV APP_DIR=/usr/src/snappass diff --git a/README.rst b/README.rst index abde29f..536888f 100644 --- a/README.rst +++ b/README.rst @@ -81,4 +81,4 @@ Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run Sn $ docker-compose up -d -This will pull all dependencies, i.e. Redis and appropriate Python version (3.5), then start up snappass and Redis server. SnapPass server is accessible at: http://localhost:5000 +This will pull all dependencies, i.e. Redis and appropriate Python version (3.6), then start up snappass and Redis server. SnapPass server is accessible at: http://localhost:5000 diff --git a/setup.py b/setup.py index 0bf1581..c3028b9 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ setup( 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Software Development :: Libraries :: Python Modules', ], zip_safe=False, diff --git a/tox.ini b/tox.ini index d06412b..b71fefc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26, py27, py33, py34, py35 +envlist = py26, py27, py33, py34, py35, py36 [testenv] deps =