[Pythonmac-SIG] using py2app to include the python interpreter?
Russell E. Owen
rowen at cesmail.net
Sat Aug 2 02:08:46 CEST 2008
<2b5a48740808011452k697c7f70kf840eea7d89889b4 at mail.gmail.com>,
"Patrick Li" <patrick at raptr.com> wrote:
> 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.
More information about the Pythonmac-SIG