<div>
<span style="font-size: 14px;">Hello. I'm attempting to package a python application (Mnemosyne, http://mnemosyne-proj.org) using py2app.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">I have built the application with py2app:</span></div><div><span style="font-size: 14px;">sudo python setup.py py2app</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">and copied the qt_menu.nib directory into the Resources directory.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">When I then attempt to launch the application:</span></div><div><span style="font-size: 14px;">./dist/Mnemosyne.app/Contents/MacOS/Mnemosyne</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">I get this error:</span></div><div><span style="font-size: 14px;"> ImportError: No module named pyqt_ui.qt_translator</span></div><div><span style="font-size: 14px;"><br></span></div><div><div><span style="font-size: 14px;">I haven't been able to figure out what to add to the "includes" to ensure qt_translator is included.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">I looked at the PyQt module list:</span></div><div><span style="font-size: 14px;">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/modules.html</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">and learned that there is a "QTranslator" class in the QtCore module, but including "PyQt4.QtCore" doesn't help, nor does "PyQt4.*"</span></div></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">Any help would be much appreciated.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">Patrick</span></div>