Hi,
has anyone succeeded in embedding wxPython inside an OS X application
bundle? I have an application that uses wxWidgets and would like to
provide wxPython as a UI toolkit for user scripts.
The problems I ran into so far:
* the Xcode project file that comes with wxPython is useless here as
it doesn't create wx-config which setup.py relies on
* I had to rebuild the source files with SWIG, the source tarball
didn't work on OS X
* configure;make doesn't work for embedded frameworks/libraries as
configure refuses to accept @executable_path/../Frameworks as prefix,
it insists on absolute paths
* after long hand-editing of my Makefiles, it still insists that my
libraries must be in $(prefix)/lib, even though I explicitly set it to
be $(prefix) in the Makefiles
Eventually I end up with error messages about undefined symbols where
it tells me how it can't find wxWindowBase in _window_.so.
Am I on the wrong track? How am I supposed to build wxPython on OS X,
and is there any meaningful way that allows me to build it as an
embedded framework that does not live at an absolute path? Dyld's
stupid install_name makes it really hard.
Thanks in advance,
stefan