[Pythonmac-SIG] Py2app working with PyQt, PyOpenGL applications?

Huaicai Mo huaicai at nanorex.com
Mon Nov 22 18:02:23 CET 2004

Thank you so much. It works for me now.


	From: Bob Ippolito [mailto:bob at redivi.com] 
	Sent: Saturday, November 20, 2004 6:31 AM
	To: Huaicai Mo
	Cc: pythonmac-sig at python.org
	Subject: Re: [Pythonmac-SIG] Py2app working with PyQt, PyOpenGL
	Thanks to Kevin's latest PyQt package I have thrown together a
recipe that should generate PyQt applications correctly (it seems to
generate aclock.py correctly, anyway). sip, the tool used to generate PyQt,
does some REALLY AWFUL THINGS FROM C that can't reasonably be analyzed, so
this py2app recipe must include *all* sip-built modules when ANY sip-built
module is included (in practice, "sip-built" probably means PyQt). You
should be able to trim this by explicitly specifying excludes for the
sip-built you know that you do not need.
	Put this sip.py in py2app/recipes/ and add "import sip" to

More information about the Pythonmac-SIG mailing list