From: Christopher Barker <chris.bar...@noaa.gov> Date: Wed, 28 Oct 2009 09:50:14 -0700 To: Jim Skibbie <jskib...@schawk.com> Cc: "pythonmac-sig@python.org" <pythonmac-sig@python.org> Subject: Re: [Pythonmac-SIG] Python XMP Toolkit bundling
Jim Skibbie wrote: > For testing purposes, I removed the option to pass arguments to my > Python script and I tried using the tutorial for py2app to create a > standalone app. > 1) use the latest py2app" > > easy_install py2app==dev IΒΉm using py2app v. 0.4.3 > 2) make sure you are running py2app with the same python that you've > installed all that stuff into. (and tell us what python that is) Not sure what you mean about using the same python that IΒΉve installed all the stuff into. I compiled boost, exempi and python-xmp-toolkit into a directory inside my /opt/local folder. Should I have installed these in some other place? > 3) post your setup.py here, so we can see what you've done HereΒΉs the setup.py, it is just the generated one from py2applet. """ This is a setup.py script generated by py2applet Usage: python setup.py py2app """ from setuptools import setup APP = ['WriteEskoXMP.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) I got the py2app to make an app that runs now by turning off the ΒA (alias mode) when building the app, but it still only runs on my machine. The libxmp looks like itΒΉs getting bundled now, but when I try to run it on a different machine, I get a error: ExempiLoadError so now it looks like the Exempi which the python-xmp-toolkit requires ( http://www.spacetelescope.org/projects/python-xmp-toolkit/docs/installation. html) isnΒΉt getting bundled, or maybe it canΒΉt be bundled? That would be a bummer. > 4) tell us OS and Python version. IΒΉm using OS X 10.5.8 and Python 2.5.1 which IΒΉm assuming is what came with my Mac? I donΒΉt remember installing anything else. Can you tell that IΒΉm in a little over my head?? Thanks. Jim -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-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig