Thanks for your emails .. In my several tests over the last few days. I can definitely say that without forcing the standalone build , when I used the python from python.org ( both 2.5.5 and 2.6.3) . py2app never created a standalone build. It bundles the required libraries but never includes the system python. That results in bundles that give a wx/_core_.so not dound error.
This may be a Leopard feature with the python downloaded from python.org but without setting semi_standalone:False I never get a standalone build with these pythons and py2app. If I use the very basic setup.py that Chris Barker mentioned. Then not only do I not get the python built into the bundle . But the linking is all messed up and I get the error. "ImportError: '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/wx/_core_.so' not found" Inside the bundle I see a symlinked python python -> /Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python So I feel something is very different and with 0.4.2 and 0.4.3 I do not get standalone builds without explicity stating anything . The wordy setup.py was a result of numerous trials ..which finally gave me a app bundle into which I copied the Python Framework manually and then the bundle worked. Hari On Wed, Oct 14, 2009 at 9:46 PM, Chris Barker <chris.bar...@noaa.gov> wrote: > 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.bar...@noaa.gov > _______________________________________________ > Pythonmac-SIG maillist - pythonmac-...@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