Am 24.01.2015 um 21:20 schrieb Dawid Gosławski:
> I have such tree:
>
> -main
> -includes
> --mod1
> --mod2
>
> Where main script imports mod1 via __import__("includes.mod1"). mod1
> imports mod2 via __import__("mod2")
>
> I wanted to add includes by --hidden-import but both will be added as
> "includes.mod*" so mod1 will not be able to import mod2.
>
> Adding hook to mod1 as:
>
> hiddenincludes=['mod2']
>
> does not work. With or without added path. How to achieve that importing ?

Is `includes` a packags (does it contain __init__.py)?

If not, please submit a minimal example of this. I do not get what you
are doing.


-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/openstreetmap-karten-in-typo3-einbinden
Kolumne: http://www.cissp-gefluester.de/2010-07-passwoerter-lieben-lernen

-- 
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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to