On May 25, 3:03 pm, Martin Zibricky <[email protected]> wrote: > Ryan Welch píše v St 25. 05. 2011 v 11:55 -0700: > > > Anyway, I was finally able to get my app to freeze properly using two > > hook modules and patching PYZOwner.getmod() in archive.py to set the > > __file__ attribute of each module to a directory relative to > > sys.executable. > > It turns out if pyinstaller should by default override __file__ for > every module or not.
Maybe not, but it seems as though it is never set to something useful (i.e., it is always a path that doesn't actually exist.) Interestingly, the __path__ of a module is set as a list containing both the PYZ module's directory, and the directory of the executable. -- 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.
