On 23 Feb, 12:33, Giovanni Bajo <[email protected]> wrote: > Hello, > > I've just added a new feature to PyInstaller: a module hook is now able > to specify additional data files that are needed for the module to work > correctly. Those data files are automatically collected when using > --onedir, or bundled within the executable when using --onefile (and > automatically extracted into the temporary dir at startup). > > Using this support, I've improved PyQt4's import hooks so that Qt > plugins (such as imageformats, codecs, etc.) are automatically handled > by PyInstaller. IOW, this is now fully transparent to PyInstaller users: > just run PyInstaller trunk and enjoy your multi-platform bundles of PyQt > applications without having to take care of plugins manually.
Hi Giovanni, I'm trying the new pyinstaller-trunk on my PyQt based project. The new hoks seems to fail collecting Qt4 plugins because hooks.hookutils.qt4_plugins_dir() returns "C:\Qt\4.4.1\plugins" while the correct plugins location on my system is "C:\Python25\Lib\site-packages\PyQt4\plugins" I don't have Qt4 installed. I just used the standard PyQt4 installer provided by riverback. It seems to me a PyQt4 build issue and i can't figure out wich is the best approach to solve this problem. Do you have any idea? Meanwhile I solved forcing the "pdir" variable in hook-PyQt4.QtGui.py. ciao -- Antonio Valentino --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
