[pygtk] Tell pygtk setup.py where to find pygobject and friends ?

John Stowers john.stowers.lists at gmail.com
Wed Jan 20 19:30:37 WST 2010


On Wed, 2010-01-20 at 02:42 -0800, Stuart Axon wrote:
> Hi,
>   I came back to having a look at pygtk.   Pygobject seems to be working fine now, I've either forgotten or don't know how to tell setup.py where it's dependencies live though.
> 
> It's asking for some .pc files, I guess for now I can skip them:
> pycairo.pc
> Do I need to build pycairo seperately from pygtk ?

I guess so. I forgot to mention this to you.
 
> libglade-2.0.pc
> I guess if I'm going to try and build the whole of pygtk I'll need to build this at some point

It depends. Libglade has been replaced by GtkBuilder, so if you don't
need glade support then you can build without it.

> 
> 
> The fatal error is missing pygobject.h, can I tell it to use the one in Python26\include\pygtk-2.0  ?

Are you building pygtk after you have build and installed pygobject?

Can you please push you git repository somewhere so I can see how you
are getting on, and any changes you needed to make.

John




More information about the pygtk mailing list