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

Ed Leafe ed at leafe.com
Sun Jun 29 23:24:55 CEST 2008


	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.

	When I build, the app builds successfully, but when I run it, the  
error: "No translation file found for domain: 'dabo'" is displayed. If  
I look into the contents of the app, as well as the build directory, I  
see the dabo directory with all the sub-modules, but no locale. What  
do I need to do to tell py2app to include these files? Or, in the  
alternative, can I manually copy them to the build directory and then  
just run the final part of the process that creates the app?

-- Ed Leafe





More information about the Pythonmac-SIG mailing list