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