From 917a496fd8ffc7e857571ca747df01051ef12e35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Mon, 14 Nov 2011 19:54:12 +0100 Subject: [PATCH] Move git code into submodule --- gbp/{git.py => git/__init__.py} | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename gbp/{git.py => git/__init__.py} (99%) diff --git a/gbp/git.py b/gbp/git/__init__.py similarity index 99% rename from gbp/git.py rename to gbp/git/__init__.py index 42e8719..9b461d1 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 90eb524..d8676b9 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'], ) -- 2.7.4