Hi I have an OSX 10.5 running 64 bit leopard laptop.

I have a python application that uses wxpython , reportlab and pyyaml
(yaml) libraries.

I am trying to build the app on Leopard and deploy it on Tiger using
the following setup.py ( see below)
However the *.app does not work and gives an error when the *.app is
double clicked ( see attached png ). It understandeably complains
about the Info.plist not having the correct PyRuntimeLocations array.

What modifications do I have to make to the setup.py to get an app
built on Leopard to run on Tiger ( both power-pc and intel).
I am currently building against the System Python from
/Library/Python/2.5/ and subversion version of py2applet.

The app size is not limiting since its for an intranet distribution.

Thanks for your help in advance
Hari


setup.py:


"""
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',
 'packages': 'wx,reportlab,yaml',
 'prefer_ppc': True}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)

<<attachment: Picture 3.png>>

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to