[Pythonmac-SIG] 10.4, py2app, wxPython

Bob Ippolito bob at redivi.com
Tue Jun 7 02:29:39 CEST 2005


On Jun 6, 2005, at 4:59 PM, jack wrote:

> Hello,
>
> I need to build a standalone wxPython app that will also run on
> 10.3.  I am trying to use py2app to achieve this.  I'm a bit fuzzy on
> what arguments I need to pass to make this possible.  Currently I am
> using:
>      python setup.py py2app -p wx,wxPython
>
> This works for me on 10.4, but when giving it out, my friend gets
> this error:
>      ImportError: Failure linking new module:
> /usr/lib/libwx_macud-2.5.3.dylib: dyld:
> /Users/admin/Desktop/Test.app/Contents/MacOS/Test can't
> open library: /usr/lib/libwx_macud-2.5.3.dylib  (No such file or
> directory, errno = 2)
>
> Trying to include this framework with the -f flag seems to do nothing
> (nothing is copied into the /Framework directory).  And since this
> dylib is in a system path, it is not copied by default.
>
> Does anyone have any experience with this?
>
> I'm using py2app 0.2.1 and python 2.3.5 (stock Tiger).

If you want to support 10.3, you need to build on 10.3, or ensure  
that ALL of your components were built on 10.3 (i.e. Python 2.4.1,  
wxPython from pythonmac.org/packages, etc.).  No exceptions.  Even if  
the Apple stuff was copied, it wouldn't work on 10.3.

-bob



More information about the Pythonmac-SIG mailing list