Hi I am using py2app version 0.7.3
With a python.org installed python ( It still installs into the framework
location Library/Frameworks/Python.framework/Versions/2.7) , I pip
installed py2app .


My setup script is identical what I used two years back  and is reproduced
below

I can get the build to complete ..but when I try to open the app on the 32
bit machine I built it on or on the target machine which is a 64 bit Lion/
Mountain Lion machines  I get an immediate termination with an error saying
it could not find the python runtime.

..............
2/18/13 1:58:29 PM,Feb 18, 2013 GridZilla[19405] A Python runtime not 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.
..............

I had gotten the build to complete using a previous version of py2app two
years back. The code has changed ever so slightly --mostly in pure python
modules.

Please can someone give me pointers as to why the standalone python is not
found by the app,

Thanks a tonne
Hari


The setup file I am using is

"""
This is a setup.py script generated by py2applet

Usage:
    python setup.py py2app
"""

from setuptools import setup

APP = ['GridZilla.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True,
 'iconfile': './gzilla_ico_fin.icns',
'semi_standalone':'False',
 'includes': 'wx,reportlab,yaml',
'packages':('wx','reportlab','yaml'),
'site_packages': True}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to