From 233e3ffe0ef35dbabe49340ba567499690dcc166 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Fri, 30 May 2008 21:01:44 -0400 Subject: renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests so they pass except for stderr test. Modified version information retrieval. --- lib/git/__init__.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/git/__init__.py (limited to 'lib/git/__init__.py') diff --git a/lib/git/__init__.py b/lib/git/__init__.py new file mode 100644 index 00000000..66ce9a45 --- /dev/null +++ b/lib/git/__init__.py @@ -0,0 +1,24 @@ +import os +import inspect + +# grab the version information +v = open(os.path.join(os.path.dirname(__file__), '..', '..', 'VERSION')) +__version__ = v.readline().strip() +v.close() + +from git.actor import Actor +from git.blob import Blob +from git.commit import Commit +from git.diff import Diff +from git.errors import InvalidGitRepositoryError, NoSuchPathError, GitCommandError +from git.gitter import Git +from git.head import Head +from git.repo import Repo +from git.stats import Stats +from git.tag import Tag +from git.tree import Tree +from git.utils import dashify +from git.utils import touch + +__all__ = [ name for name, obj in locals().items() + if not (name.startswith('_') or inspect.ismodule(obj)) ] -- cgit v1.2.3