[Pythonmac-SIG] py2app sip recipe and Qt plugins

2009-09-19 Thread Marc-Antoine Parent
/../Frameworks/QtGui.framework/Versions/4/QtGui {} ';' find dist//Contents/plugins -type f -exec install_name_tool -change QtGui.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore {} ';' (and so on if you need QtWebKit etc.) Cheers,

[Pythonmac-SIG] py2app sip recipe and Qt plugins

2009-09-19 Thread Marc-Antoine Parent
/../Frameworks/QtGui.framework/Versions/4/QtGui {} ';' find dist//Contents/plugins -type f -exec install_name_tool -change QtGui.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore {} ';' (and so on if you need QtXml etc.) Cheers,

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Marc-Antoine Parent
I also ran into this recently. I was trying to wrap a PyQt application on Snow Leopard, and I wanted a 64-bit application as a result. The first issue you ran into involves macholib, and is easy enough to correct; here is the patch file. macholib.diff Description: Binary data Also, py2app bu

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Marc-Antoine Parent
> I get this error in py2app: > > File "build/bdist.macosx-10.5-universal/egg/macholib/MachO.py", line 295, in > synchronize_size >raise ValueError("New Mach-O header is too large to relocate") > ValueError: New Mach-O header is too large to relocate > > /Users/kevin/Desktop/phynchronicity/bu

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-28 Thread Marc-Antoine Parent
> It's just Tkinter--I have a four-way build (32/64 bit for PPC and Intel) of > Tcl/Tk. Hmmm I tried adding Tkinter to my "includes". Interestingly, the framework did not get added; apparently because it is a system framework. I then tried adding it explicitly with the "frameworks" option o