Merge lp://staging/~andrea.corbellini/bzr-gedit/check-bzr-gtk into lp://staging/bzr-gedit
Proposed by
Andrea Corbellini
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~andrea.corbellini/bzr-gedit/check-bzr-gtk |
Merge into: | lp://staging/bzr-gedit |
To merge this branch: | bzr merge lp://staging/~andrea.corbellini/bzr-gedit/check-bzr-gtk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Needs Information | |
Javier Derderyan | Abstain | ||
Review via email: mp+1132@code.staging.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 123. By Andrea Corbellini
-
Check bzr-gtk before install.
=== modified file 'setup.py'
missing[ 'gtk'] = "Missing pygtk."
--- setup.py 2008-09-16 03:32:14 +0000
+++ setup.py 2008-09-24 15:00:50 +0000
@@ -23,6 +23,12 @@
except:
+ try: 'bzrlib. plugins. gtk'] = "Missing bzr-gtk."
destdir = sys.argv[2][10:]
destdir = expanduser( "~/.gnome2/ gedit/plugins/ ")
+ print "testing bzr-gtk"
+ import bzrlib.plugins.gtk
+ except:
+ missing[
+
if len(missing) != 0:
print "Can't install. Required files missing:"
for miss in missing:
@@ -33,7 +39,7 @@
if sys.argv[2][0:10] == '-location=':
if destdir[-1] != '/':
- destdir +="/"
+ destdir +="/"
else:
else: