[pygtk] PyGTK with py2app
Shrihari Sankaran
gfxindia at gmail.com
Sun Oct 16 05:06:15 WST 2011
>
> It's not possible to fit the new "@executable_path/../" style paths to
> where the "/opt/gtk/" used to be, without relinking all the libraries.
>
> i.e. using the ld(1) flag of -headerpad_max_install_names to make sure
> that all paths are padded to MAXPATHLEN for later install_name_tool use
>
> > Now, I have a proper PyGTK app that runs perfectly fine. I need a way to
> bundle it properly.
>
> You might want to look at: http://live.gnome.org/GTK%2B/OSX/Bundling ?
> That is the official way to build and bundle PyGTK and Python on OS X.
I did check out GTK-OSX. But, they don't seem to have much documentation for
PyGTK. And, I'm not very familiar with what happens when an App bundle is to
be built.
I even followed Winswitch's instructions at
http://winswitch.org/dev/macosx.html. But I'm stuck after the "jhbuild
build" step. I just went ahead and executed my application from inside the
jhbuild shell. I got a huge list of errors: http://pastebin.com/78AMZ3Tg - I
couldn't make head or tail of it.
Should I install gtk-osx after removing /opt/gtk? It would be great if
someone could come up with a PyGTK-specific guide for building and bundling
apps using GTK-OSX.
Thanks,
Shrihari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111016/d241b258/attachment.html>
More information about the pygtk
mailing list