Drop support for Python 3.2, cffi 1.10 doesn't work with

This commit is contained in:
J. David Ibáñez 2017-05-07 09:53:10 +02:00
parent 035d4a9396
commit f841c62fa6
6 changed files with 5 additions and 14 deletions

View File

@ -2,7 +2,6 @@ language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"

View File

@ -9,7 +9,7 @@ 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, 3.6
implements Git plumbing. Pygit2 works with Python 2.7, 3.3, 3.4, 3.5, 3.6
and PyPy 2.6
Links:

View File

@ -7,7 +7,7 @@ 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,
implements the core of Git. Pygit2 works with Python 2.7, 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

View File

@ -13,7 +13,7 @@ Installation
Requirements
============
- Python 2.7, 3.2+ or PyPy 2.6+ (including the development headers)
- Python 2.7, 3.3+ or PyPy 2.6+ (including the development headers)
- Libgit2 v0.25.x
- cffi 1.0+
- six

View File

@ -61,14 +61,6 @@ if cffi_major_version == 0:
ffi.verify(preamble, **C_KEYWORDS)
del sys.path[0]
# Python 2 support
# See https://github.com/libgit2/pygit2/pull/180 for a discussion about this.
# Using six isn't an option here yet, we don't necessarily have six installed
if sys.version_info[0] == 2:
u = lambda s: unicode(s, 'utf-8')
else:
u = str
libgit2_bin, libgit2_include, libgit2_lib = get_libgit2_paths()
@ -198,7 +190,7 @@ setup(name='pygit2',
url='http://github.com/libgit2/pygit2',
classifiers=classifiers,
license='GPLv2 with linking exception',
maintainer=u('J. David Ibáñez'),
maintainer=u'J. David Ibáñez',
maintainer_email='jdavid.ibp@gmail.com',
long_description=long_description,
packages=['pygit2'],

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,py32,py33,py34,py35,py36,pypy,pypy3
envlist = py27,py33,py34,py35,py36,pypy,pypy3
[testenv]
commands =