I tried retrieving pygobject from git again and got the same result - heres what I did for pygobject (based on the instructions you gave for pygtk)
git clone git://git.gnome.org/pygobject cd pygobject # add my repository git remote add john git://github.com/nzjrs/pygobject.git git fetch john # create a branch for you to work in. This is initially identical to my # branch git checkout -b stu_work john/master-windows # merge master into your new branch git merge origin master ----- Original Message ---- From: Stuart Axon <[email protected]> To: John Stowers <[email protected]> Cc: [email protected] Sent: Mon, January 11, 2010 5:56:02 PM Subject: Re: [pygtk] Pygtk and Windows... how to build for release? There are seperate ones from the ones I got in the pygobject git ? Or is it finding the binary versions of those that I have installed ? ----- Original Message ---- From: John Stowers <[email protected]> To: Stuart Axon <[email protected]> Cc: [email protected] Sent: Mon, January 11, 2010 10:30:29 AM Subject: Re: [pygtk] Pygtk and Windows... how to build for release? On Sun, 2010-01-10 at 17:44 -0800, Stuart Axon wrote: > The git learning is great :) > > I might try building stable stuff tomorrow, although I may as well try and > build HEAD too. > > So far I got pygobject starting to build, but now I can see the real hassle, > that of course the problem is not the python, but the other stuff... > > [C:\usr\pygtk-git\pygobject]python setup.py build > ********************************************************************** > Building PyGObject 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 PyGObject 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\pygtk-git\pygobject\dsextras.py:354: DeprecationWarning: > object.__new__() takes no parameters > return object.__new__(cls,*args, **kwds) > running build > running build_py > running build_clib > building 'pyglib' library > running build_ext > building 'gio._gio' extension > C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD > /W3 /GS- /DNDEBUG -DPYGOBJECT_MAJOR_VERSIO > N=2 -DPYGOBJECT_MINOR_VERSION=21 -DPYGOBJECT_MICRO_VERSION=2 > -DVERSION="""2.21.2""" -Iglib -IC:/usr/gtk/include/glib-2.0 > -IC:/usr/gtk/lib/glib-2.0/include -Igobject -IC:/usr/gtk/include/glib-2.0 > -IC:/usr/gtk/lib/glib-2.0/include -IC:\usr\Py > thon26\include -IC:\usr\Python26\PC /Tcgio/gio.c > /Fobuild\temp.win32-2.6\Release\gio/gio.obj > gio.c > gmemoryoutputstream.override(44) : warning C4244: 'function' : conversion > from 'goffset' to 'Py_ssize_t', possible loss > of data > gio/gio.c(19534) : error C2065: 'G_TYPE_CONVERTER_FLAGS' : undeclared > identifier > gio/gio.c(19535) : error C2065: 'G_TYPE_CONVERTER_RESULT' : undeclared > identifier > gio/gio.c(19563) : error C2065: 'G_TYPE_ZLIB_COMPRESSOR_FORMAT' : undeclared > identifier > error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' > failed with exit status 2 Looks like you need glib/gio from git. John _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
