Thanks! It took me further... However, I'm now getting the following error. Do you know what may cause this?
*** creating application bundle: Raptr *** copying build/bdist.macosx-10.3-i386/python2.5-standalone/app/site-packages.zip -> /Users/patrickli/client/gxl/trunk/client/src/dist/Raptr.app/Contents/Resources/lib/python2.5 Traceback (most recent call last): File "/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 579, in _run self.run_normal() File "/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 650, in run_normal self.create_binaries(py_files, pkgdirs, extensions, loader_files) File "/Users/patrickli/python/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 767, in create_binaries platfiles = mm.run() File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 102, in run mm.run_file(fn) File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 66, in run_file m = self.createNode(MachO, pathname) File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 23, in createNode res = super(FilteredMachOGraph, self).createNode(cls, name) File "build/bdist.macosx-10.3-i386/egg/altgraph/ObjectGraph.py", line 148, in createNode m = cls(name, *args, **kw) File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 61, in __init__ self.load(file(filename, 'rb')) File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 76, in load self.load_header(fh, 0, size) File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 106, in load_header hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian) File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 146, in __init__ self.load(fh) File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 178, in load raise ValueError("Unknown load command: %d" % (cmd_load.cmd,)) ValueError: Unknown load command: 27 > /Users/patrickli/client/gxl/trunk/client/src/build/bdist.macosx-10.3-i386/egg/macholib/MachO.py(178)load() (Pdb) On Fri, Aug 1, 2008 at 5:08 PM, Russell E. Owen <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > "Patrick Li" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I just used py2app to bundle my app on Leopard. It works fine on my > > computer. However, when I let my friend run the app on his machine that > is > > running Tiger, it returned an error regarding the python runtime: > > > > "A Python runtime could be located. You may need to install a framework > > build of Python, or edit the PyRuntimeLocations array in this > application's > > Info.plist file." > > > > After further investigation, it appears that Leopard comes with python > 2.5 > > and Tiger comes with python 2.3. As a result, it was not able to find > the > > python runtime to execute my application. > > > > I was under the assumption that py2app is supposed to bundle python all > > together so that it can run on any machine as a standalone without > depending > > on python being installed on their machine? Am I missing something? > > All you have to do is install your own python and use that to run > py2app. then py2app will bundle the python in your app. (It will not > bundle the system python for various good reasons.) > > Installing your own python is a good thing to do in any case. You can > add and update packages and you can update python without fear of > messing up the system. > > -- Russell > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > > >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig