Re: Python bindings

Richard Hult <[email protected]> 06 Mar 2003 18:05:30 +0100
Newsgroups gmane.comp.gnome.apps.mr-project.devel
Organization CodeFactory AB
Message-ID <1046970330.19812.76.camel@sliff>
ons 2003-03-05 klockan 21.58 skrev Malcolm Tredinnick:
> On Wed, Mar 05, 2003 at 12:29:15PM +0100, Mikael Hallendal wrote:
> > Or is it just a build dependency?
> 
> It is just a build dependency. PyGTK has a pygtk-codegen script that
> takes the mrproject-*.defs files (which can be used for _any_ language
> binding -- they are a Scheme like description of the functions and
> arguments, etc), combines them with the mrproject.overrides file (which
> contains the hand-written wrappers for functions that require them and
> so is Python specific) and creates a mrproject.c file of automatically
> generated code.

I guess it's also a run-time dependency? Or does pygtk do dynamic
loading of gtk in some way? If gtk, pango, etc, are required during
run-time, then we might as well have it as tarball build-time
requirement too.

In the long run, it would be nice to be able to provide bindings that
don't have this kind of requirements though, for scenarios like the one
Mikael talked about.

Richard

-- 
Richard Hult                    [email protected]
CodeFactory AB                  http://www.codefactory.se/