From 5a940987cd9134e5f7cff933c5ccafb81acd13ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
Date: Wed, 22 Mar 2017 21:45:12 +0100
Subject: [PATCH] Add support for Python 3.6

---
 .travis.yml    | 1 +
 README.rst     | 4 ++--
 appveyor.yml   | 4 ++++
 docs/index.rst | 4 ++--
 tox.ini        | 2 +-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 239fba6..22aadd5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,7 @@ python:
   - "3.3"
   - "3.4"
   - "3.5"
+  - "3.6"
   - "pypy"
   - "pypy3"
 
diff --git a/README.rst b/README.rst
index b34b328..fc8775c 100644
--- a/README.rst
+++ b/README.rst
@@ -9,8 +9,8 @@ pygit2 - libgit2 bindings in Python
    :target: https://ci.appveyor.com/project/jdavid/pygit2/branch/master
 
 Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2
-implements Git plumbing.  Pygit2 works with Python 2.7, 3.2, 3.3, 3.4, 3.5 and
-PyPy 2.6
+implements Git plumbing.  Pygit2 works with Python 2.7, 3.2, 3.3, 3.4, 3.5, 3.6
+and PyPy 2.6
 
 Links:
 
diff --git a/appveyor.yml b/appveyor.yml
index 21919aa..48f933e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -19,6 +19,10 @@ environment:
     PYTHON: 'C:\Python35\python.exe'
   - GENERATOR: 'Visual Studio 14 Win64'
     PYTHON: 'C:\Python35-x64\python.exe'
+  - GENERATOR: 'Visual Studio 14'
+    PYTHON: 'C:\Python36\python.exe'
+  - GENERATOR: 'Visual Studio 14 Win64'
+    PYTHON: 'C:\Python36-x64\python.exe'
 
 init:
 - cmd: '%PYTHON% -m pip install -U nose wheel'
diff --git a/docs/index.rst b/docs/index.rst
index 9ae60b2..1669c03 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -7,8 +7,8 @@ Welcome to pygit2's documentation!
 ==================================
 
 Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2
-implements the core of Git.  Pygit2 works with Python 2.7, 3.2, 3.3, 3.4, 3.5
-and pypy.
+implements the core of Git.  Pygit2 works with Python 2.7, 3.2, 3.3, 3.4, 3.5,
+3.6 and pypy.
 
 It is likely to work with Python 2.6 and 3.1, but these versions are not
 officially supported.
diff --git a/tox.ini b/tox.ini
index a659c47..e930fa2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py32,py33,py34,py35,pypy,pypy3
+envlist = py27,py32,py33,py34,py35,py36,pypy,pypy3
 
 [testenv]
 commands =