[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: PyObjc dependency replaced for pygame on Mac OS X
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Re: PyObjc dependency replaced for pygame on Mac OS X
- From: Ulrich Petri <mail@xxxxxx>
- Date: Fri, 13 Feb 2009 03:21:03 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 12 Feb 2009 21:21:08 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=B4HAb7TlyST8CQRSEwP2MQG1hRrIB+QM6tRVpD7xNwc=; b=nxS+wsXR+eJweGH9KcnIoiTqOqmd30MmyWp9xYrsvsFQJwIIxLxuYLLTnb+AIWwI+s 4LP79JEVh0OquwujqhZ85bbG0zSiGRjk4MRcH7vdQPtXe6+n4Q12Qs5TxYhXOqBSZLl9 ZRFWycT9diNrlBTwP1Vj+mUbznEG655Nz8+SY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=lFG8KDBqWaoBRLeJq58SC1t4q9JeGDcv85iPwiq+erjC75q169iHRlOTykJEBiqGTO IKouknS9hzyQtuK32mSa0bksVZamB/gB9wT1QWbDfMs9/Bb4KlF5DtHAVt+TXTgjPYj7 Hf0itNr/RInVklsLexDKbo7GQYvU8pYdoxQKE=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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