pyinstaller 1.3 on linux
I thought I had finally found a good way to get hidden imported, but
it's not working. I've tried these two things:
- The missing modules are imported by dynamically loaded code, so I just
list those files as scripts. pyinstaller then analyzes them and
presumably incorporates the missing modules.
- Add an import hook that explicitly imports the missing modules (though
the first method is better because I'm not sure what will be missing).
Both fail in the same way when trying to import one of the "hidden"
modules TUI.Base.BaseFocusScript:
File
"/astro/users/rowen/build/TUI_1.3a15_Source/BuildForUnix/disttui/TUI/Scri
pts/NA2 Guider/Focus.py", line 7, in <module>
import TUI.Base.BaseFocusScript
File "/astro/users/rowen/build/pyinstaller-1.3/iu.py", line 312, in
importHook
mod = _self_doimport(nm, ctx, fqname)
File "/astro/users/rowen/build/pyinstaller-1.3/iu.py", line 373, in
doimport
mod = importfunc(nm)
File "/astro/users/rowen/build/pyinstaller-1.3/iu.py", line 215, in
getmod
mod = owner.getmod(nm)
File "/astro/users/rowen/build/pyinstaller-1.3/archive.py", line 403,
in getmod
return self.owner.getmod(self.name+'.'+nm)
File "/astro/users/rowen/build/pyinstaller-1.3/archive.py", line 391,
in getmod
localpath:ExtInPkgImporter(localpath, nm)},
File "/astro/users/rowen/build/pyinstaller-1.3/archive.py", line 406,
in __init__
iu.DirOwner.__init__(self, path)
File "/astro/users/rowen/build/pyinstaller-1.3/iu.py", line 59, in
__init__
raise ValueError, "%s is not a directory" % path
ValueError: disttui is not a directory
Note that most of the TUI package is found in the usual way and imports
just fine. I just get failures when I try to import the hidden modules.
Any hints on a workaround?
-- Russell
P.S. I did submit a ticket.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---