I don't suppose the source to the app and the build script are available
anywhere? If not, would you mind sharing them? If you don't want to share
it, can you put together a minimal sample to reproduce the problem?

thanks!

On Thu, Feb 12, 2009 at 6:21 PM, Ulrich Petri <[email protected]> wrote:

> Hi,
>
> I tried to build a simple pygame app with py2app but the resulting app
> bundle refuses to launch.
>
> Details as follows:
>
> Traceback (most recent call last):
>  File "xxxxx/dist/myapp.app/Contents/Resources/__boot__.py", line 31, in
> <module>
>    _run('myapp.py')
>  File "xxxxx/dist/myapp.app/Contents/Resources/__boot__.py", line 28, in
> _run
>    execfile(path, globals(), globals())
>  File "xxxxx/dist/myapp.app/Contents/Resources/myapp.py", line 1, in
> <module>
>    import pygame
>  File "pygame/__init__.pyc", line 94, in <module>
>  File "pygame/base.pyc", line 18, in <module>
>  File "pygame/base.pyc", line 15, in __load
> ImportError:
> '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/pygame/base.so'
> not found
>
> It seems the base.so file is sought after somewhere in the system python
> path rather than in the app bundle (where the file actually does exist in
> "Contents/Resources/lib/python2.5/lib-dynload/pygame").
>
> >>> print pygame.version.ver
> 1.9.0pre-svn1923
>
> Bye
> Ulrich
>

Reply via email to