Hey guys,
I've noticed this behaviour and I'm not sure if this is by design or a bug.
I've added two cases in my Github 
gist: https://gist.github.com/m1keil/8605617be9dd473e056a

In the good case, when I have static import, PyInstaller run will detect 
all submodules (with my custom hook) and will also detect all the 
dependencies of these submodules.
In the bad case, when I have dynamic import, I add --hiddenimport flag, 
PyInstaller run detects all submodules (again, with the hook) but will not 
detect submodule's dependencies.
You can see that there's a huge difference in the number of modules went 
into each one of the binaries.

I thought that hiddenimport behaviour is the same as if I had explicit 
import statement in my script?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to