Add pygit2.__libgit2_version__ to retrieve git_libgit2_version() info.

This commit is contained in:
Christian Boos
2013-02-17 11:38:40 +01:00
parent bd62fded03
commit 8f843beecf

View File

@@ -28,3 +28,6 @@
from .version import __version__
from _pygit2 import *
import pygit2.utils
__libgit2_version__ = '%d.%d.%s' % (
LIBGIT2_VERSION_MAJOR, LIBGIT2_VERSION_MINOR, LIBGIT2_VERSION_REV)