[Pythonmac-SIG] Framework does not get copied for standalone build: 0.4.3

Chris Barker Chris.Barker at noaa.gov
Thu Oct 15 03:46:41 CEST 2009


Kevin Walzer wrote:
  I wonder if the problem is with py2applet and the build script it
> generates?

Maybe, you seem to be making this more  complicated than it should be. 
This should do it:

from setuptools import setup

APP = ['GridZilla.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True,
            'iconfile': './gzilla_ico_fin.icns',
            }

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

i.e. If you aren't using the system python, it should build a 
stand-alone, and you shouldn't need to explicitly include wx, and 
certainly not as packages and includes.

I'm not totally sure about yaml or report lab, but try without first.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list