Re: Python bindings
Mikael Hallendal <[email protected]> 05 Mar 2003 12:29:15 +0100
| Newsgroups | gmane.comp.gnome.apps.mr-project.devel |
|---|---|
| Organization | CodeFactory AB |
| Message-ID | <[email protected]> |
ons 2003-03-05 klockan 10.40 skrev Richard Hult: > ons 2003-03-05 klockan 03.38 skrev Malcolm Tredinnick: > > I just landed the first part of the python bindings. I still need to > > finish wrapping about 50 functions by hand (anything involving varargs, > > GLists and the like requires hand wrapping), but the basics are there. Great! > > Richard, Mikael: there is an implicit dependency on PyGTK for building > > this stuff. I will set it up so that things will quietly fail (just not > > build the bindings) if PyGTK is not installed, but do you think it is > > too onerous to require this to make the bindings build work? The reason > > for the requirement is that PyGTK installs the pygtk-codegen script for > > generating most of the function wrappers. > > As long as the bindings build can be disabled, I'm all for having pygtk > as a requirement. Hmm .. if it would be possible to build the bindings without pygtk that would be the best. But if it's just not doable or too much work I guess we can live with depending on pygtk in this case. Having a pygtk dependency for python bindings for libmrproject is pretty bad, since that involves an extra dependency on. Gtk+, ATK, Pango, X. For example someone wanting to write a python-cgi script that uses a mrproject file in the back for something would have to install X and friends. Or is it just a build dependency? Regards, Mikael Hallendal -- Mikael Hallendal [email protected] CodeFactory AB http://www.codefactory.se/ Cell: +46 (0)709 718 918