[Gtk-osx-users] Interactively querying the jhbuild environment
- From: Richard Procter <richard n procter gmail com>
- To: gtk-osx-users lists sourceforge net
- Subject: [Gtk-osx-users] Interactively querying the jhbuild environment
- Date: Thu, 29 Jul 2010 14:45:26 +1200
Hi all,
I felt the need to dig into jhbuild a little (to see if I could add
patches in .jhbuildrc-custom in the same way I can change branches
without touching the modulesets).
I found that adding the following to the end of .jhbuildrc-custom was
a nice way to explore the jhbuild environment interactively:
import code
code.interact(local=globals())
del code
$ jhbuild shell
[buildshell] orchid:~ rix$ jhbuild shell
Python 2.5.1 (r251:54863, Feb 4 2008, 21:48:13)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> print modules
['meta-gtk-osx-bootstrap', 'meta-gtk-osx-core']
>>> ^D
Prefix: /Users/richard/staging/gtk/inst
Entered jhbuild shell, type 'exit' to return.
cheers,
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]