Václav Šmilauer píše v St 12. 12. 2012 v 12:05 +0100: > The problem is that it uses DefaultProvider (which works only with > resources existing as files on the filesystem), whereas ZipProvider > should be used. Provider is obtained using module.__loader__ type > (PEP302). As I checkd by comparing the configurations, pyinstaller > does > not set the __loader__ attribute of a loaded module, whereas > non-frozen > config sets it to a zipimporter instance. Would it be difficult to > modify the egg-loader to set this attribute? It seems that at that > moment would big part of pkg_resources just work.
It seems that the issue is related to http://www.pyinstaller.org/ticket/507 PyInstaller does not use anything from PEP302. It still uses it's own old mechanism to load python modules in frozen executables. Could you provide some code examples to play with? -- 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.
