Drop support for Python 3.2, cffi 1.10 doesn't work with
This commit is contained in:
parent
035d4a9396
commit
f841c62fa6
@ -2,7 +2,6 @@ language: python
|
|||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.2"
|
|
||||||
- "3.3"
|
- "3.3"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
@ -9,7 +9,7 @@ pygit2 - libgit2 bindings in Python
|
|||||||
:target: https://ci.appveyor.com/project/jdavid/pygit2/branch/master
|
:target: https://ci.appveyor.com/project/jdavid/pygit2/branch/master
|
||||||
|
|
||||||
Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2
|
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
|
and PyPy 2.6
|
||||||
|
|
||||||
Links:
|
Links:
|
||||||
|
@ -7,7 +7,7 @@ Welcome to pygit2's documentation!
|
|||||||
==================================
|
==================================
|
||||||
|
|
||||||
Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2
|
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.
|
3.6 and pypy.
|
||||||
|
|
||||||
It is likely to work with Python 2.6 and 3.1, but these versions are not
|
It is likely to work with Python 2.6 and 3.1, but these versions are not
|
||||||
|
@ -13,7 +13,7 @@ Installation
|
|||||||
Requirements
|
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
|
- Libgit2 v0.25.x
|
||||||
- cffi 1.0+
|
- cffi 1.0+
|
||||||
- six
|
- six
|
||||||
|
10
setup.py
10
setup.py
@ -61,14 +61,6 @@ if cffi_major_version == 0:
|
|||||||
ffi.verify(preamble, **C_KEYWORDS)
|
ffi.verify(preamble, **C_KEYWORDS)
|
||||||
del sys.path[0]
|
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()
|
libgit2_bin, libgit2_include, libgit2_lib = get_libgit2_paths()
|
||||||
|
|
||||||
@ -198,7 +190,7 @@ setup(name='pygit2',
|
|||||||
url='http://github.com/libgit2/pygit2',
|
url='http://github.com/libgit2/pygit2',
|
||||||
classifiers=classifiers,
|
classifiers=classifiers,
|
||||||
license='GPLv2 with linking exception',
|
license='GPLv2 with linking exception',
|
||||||
maintainer=u('J. David Ibáñez'),
|
maintainer=u'J. David Ibáñez',
|
||||||
maintainer_email='jdavid.ibp@gmail.com',
|
maintainer_email='jdavid.ibp@gmail.com',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
packages=['pygit2'],
|
packages=['pygit2'],
|
||||||
|
2
tox.ini
2
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py27,py32,py33,py34,py35,py36,pypy,pypy3
|
envlist = py27,py33,py34,py35,py36,pypy,pypy3
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user