[Pythonmac-SIG] py2app and mysqldb

Christopher Barker Chris.Barker at noaa.gov
Tue Apr 28 19:23:52 CEST 2009


Elizabeth Lackey wrote:
>     What's the output of 'which python' 
> 
> /usr/bin/python
>  
> 
>     and 'python -V'?
> 
> Python 2.5.1

So you are using the python that Apples supplied with 10.5.

In this case, py2app does not include python itself (or system installed 
standard packages?)

I wonder if that's messing things up for you.

If you want to deploy to non 10.5 systems, you should use the python.org 
python. It will install into /Library/Frameworks, and py2app will 
include everything needed to run the app on any 10.3.9 and above system


Now for more diagnostics (sorry, I don't have mysqlbd installed, so I 
can't test easily):

You can look into the build app bundle by right clicking on the bundle. 
Poke around in there, and you can see what's getting included.

if you add something to "PACKAGES" the while package should get included 
as-is. Everything else gets included inside a zip file -- you can unzip 
it and see what's there.

-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