Hi Hartmut,

On 09/20/2014 06:30 PM, Hartmut Goebel wrote:
Am 20.09.2014 06:09, schrieb Gelonida G:
Thus my question of how to tell pyinstaller to not 'autodiscover'
certain conditional imports and its dependencies


One way is to use a virtual env containing onle the required modules.

Sounds like a good solution:
Howver I have one small problem:
a virtualenv can be created with or without system-site-packages

What I would need is to include some system-site-packages (e.g. pywin32, but to exclude others PyQT)

Is this possible with virtualenv?



Or you can manipulate result of the Analysis() call in the .spec-file,
see <http://pythonhosted.org/PyInstaller/#id38>

Also an option:
Does somebody have a plugin / code to exclude all PyQT dependencies?

I'll probably manage to implement this somehow, but wonder whether this would be as elegant as some existing solutions.


--
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/einladung-von-der-friedrich-ebert-stiftung

Kolumne:
http://www.cissp-gefluester.de/2011-08-horrorszenario-bring-your-own-device

Goebel Consult ist Mitglied bei http://www.7-it.de/



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