Add pygit2.__libgit2_version__ to retrieve git_libgit2_version() info.
This commit is contained in:
@@ -28,3 +28,6 @@
|
|||||||
from .version import __version__
|
from .version import __version__
|
||||||
from _pygit2 import *
|
from _pygit2 import *
|
||||||
import pygit2.utils
|
import pygit2.utils
|
||||||
|
|
||||||
|
__libgit2_version__ = '%d.%d.%s' % (
|
||||||
|
LIBGIT2_VERSION_MAJOR, LIBGIT2_VERSION_MINOR, LIBGIT2_VERSION_REV)
|
||||||
|
|||||||
Reference in New Issue
Block a user