summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-11-14 19:54:12 +0100
committerGuido Günther <agx@sigxcpu.org>2011-11-20 14:24:24 +0100
commit917a496fd8ffc7e857571ca747df01051ef12e35 (patch)
treeb724bf364f559f3206e2409fa4b2494392ffcdb3
parent8c90aac38b82262449b407062b15509703e7f876 (diff)
downloadgit-buildpackage-917a496fd8ffc7e857571ca747df01051ef12e35.tar.gz
git-buildpackage-917a496fd8ffc7e857571ca747df01051ef12e35.tar.bz2
git-buildpackage-917a496fd8ffc7e857571ca747df01051ef12e35.zip
Move git code into submodule
-rw-r--r--gbp/git/__init__.py (renamed from gbp/git.py)6
-rw-r--r--setup.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/gbp/git.py b/gbp/git/__init__.py
index 42e87199..9b461d1c 100644
--- a/gbp/git.py
+++ b/gbp/git/__init__.py
@@ -19,9 +19,9 @@
import re
import subprocess
import os.path
-from command_wrappers import (GitCommand, copy_from)
-from errors import GbpError
-import log
+from gbp.command_wrappers import (GitCommand, copy_from)
+from gbp.errors import GbpError
+import gbp.log as log
import dateutil.parser
import calendar
diff --git a/setup.py b/setup.py
index 90eb5242..d8676b90 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup(name = "gbp",
'bin/gbp-clone',
'bin/gbp-create-remote-repo',
'bin/git-pbuilder'],
- packages = [ 'gbp', 'gbp.scripts' ],
+ packages = [ 'gbp', 'gbp.scripts', 'gbp.git' ],
data_files = [("/etc/git-buildpackage/", ["gbp.conf"]),],
setup_requires=['nose>=1.0', 'coverage>=3.4'],
)