Re: [Gtk-osx-users] Interactively querying the jhbuild environment
- From: John Ralls <jralls ceridwen fremont ca us>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] Interactively querying the jhbuild environment
- Date: Wed, 28 Jul 2010 22:58:20 -0700
On Jul 28, 2010, at 7:45 PM, Richard Procter wrote:
> 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.
Cool tip. Thanks!
Regards,
John Ralls
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]