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 ?
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
The fatal error is missing pygobject.h, can I tell it to use the one in
Python26\include\pygtk-2.0 ?
--- full output ---
[C:\usr\pygtk-git\pygtk]python setup.py build
**********************************************************************
Building PyGTK using distutils is NOT SUPPORTED.
It's mainly included to be able to easily build win32 installers
You may continue, but only if you agree to not ask any questions
To build PyGTK in a supported way, read the INSTALL file
Build fixes are of course welcome and should be filed in bugzilla
**********************************************************************
Not supported, ok [y/N]? y
C:\usr\Python26\lib\site-packages\gtk-2.0\dsextras.py:354: DeprecationWarning:
object.__new__() takes no parameters
return object.__new__(cls,*args, **kwds)
* pycairo.pc could not be found, bindings for pangocairo will not be built.
* libglade-2.0.pc could not be found, bindings for gtk.glade will not be built.
running build
running build_py
running build_ext
building 'atk' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD
/W3 /GS- /DNDEBUG -DPYGTK_MAJOR_VERSION=2
-DPYGTK_MINOR_VERSION=17 -DPYGTK_MICRO_VERSION=0 -DVERSION="""2.17.0"""
-DPLATFORM_WIN32=1 -DHAVE_BIND_TEXTDOMAIN_CODESE
T=1 -DHAVE_NUMPY=1 -IC:/usr/gtk/include/atk-1.0 -IC:/usr/gtk/include/glib-2.0
-IC:/usr/gtk/lib/glib-2.0/include -I. -Igt
k -IC:/usr/gtk/include/glib-2.0 -IC:/usr/gtk/lib/glib-2.0/include
-IC:\usr\Python26\include -IC:\usr\Python26\PC /Tcatkm
odule.c /Fobuild\temp.win32-2.6\Release\atkmodule.obj
atkmodule.c
atkmodule.c(28) : fatal error C1083: Cannot open include file: 'pygobject.h':
No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"'
failed with exit status 2
S++
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/