From 90db9016bd1db2e6ec63e556e05f6aada2175e05 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 18 Jun 2008 10:21:00 +0100 Subject: [PATCH] We need to not bail out in sbuild --- setup.py | 1 + terminator | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 666fd4e5..90b622ca 100755 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ def import_terminator(): exec module_file in module.__dict__ return module +TERMINATOR_BUILD = True APP_VERSION = import_terminator().APP_VERSION PO_DIR = 'po' diff --git a/terminator b/terminator index 92694a57..fa7aa247 100755 --- a/terminator +++ b/terminator @@ -65,10 +65,10 @@ else: try: import gobject, gtk, pango except: - err (_("You need to install the python bindings for " \ - "gobject, gtk and pango to run Terminator.")) - sys.exit(1) - + if not TERMINATOR_BUILD: + err (_("You need to install the python bindings for " \ + "gobject, gtk and pango to run Terminator.")) + sys.exit(1) # import a library for viewing URLs try: