>>>>> "Cedric" == Cedric Gustin <[EMAIL PROTECTED]> writes:
Cedric> See http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
Cedric> Building pygtk with mingw on win32 is not THAT difficult
Cedric> if you use the distutils script.
Eureka!
Finally tamed this beast, but it took me a while. The gory details
are available at
http://nitace.bsd.uchicago.edu:8080/Wikis/Leo/CompilingPythonWin,
which elaborates on the steps at
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ and details some
roadbumps and solutions I encountered.
One roadbump was that for WindowsME/mingw/python2.2/pygtk2, the
compiler flag -mms-bitfields had to be set to successfully import
pygtk. I did this by editing setup.py and calling
for module in ext_modules:
module.extra_compile_args.append('-mms-bitfields')
Is there a way to pass an extra flag from the shell?
Thanks for the help.
John Hunter
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/