[Pythonmac-SIG] Py2app - problem building with a localized package

Christopher Barker Chris.Barker at noaa.gov
Mon Jun 30 20:28:20 CEST 2008


Ed Leafe wrote:
>     I'm trying to use py2app to build an application, and am running 
> into the following problem. The app uses the Dabo framework, located in 
> my site-packages directory. The 'dabo' folder contains several 
> directories that are sub-modules of the framework, as well as a 
> directory named 'locale' containing the .po and .mo localization files 
> for each available translation.

as a rule, py2app only installs python and compiled extension modules -- 
it doesn't know about .po and .mo files.

The solution is to force include these. It looks like a dabo recipe is 
in order. Take a look at the matplotlib recipe -- it needs to include a 
bunch of data files also.

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/recipes

Actually, looking there, it looks like it's as simple as explicitly 
include the dabo package.

-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