On 10/10/2014 04:14 PM, Hartmut Goebel wrote:
Am 10.10.2014 15:59, schrieb Gelonida N:
Will dive into this code. what I have to understand is how to create a
custom loader.
In my case (at least for debug releases) I'd be interested in a
loader, which would try to import plain .py files from the project's
directory prior to searching in the executable or the .pkg file.

For this it should be enough to ensure, MEIPASS is the first entry in
sys.path. Have you tried this? You woll have to put this on the very top
of your first script (or put a script doing this in front of your first
script).


Hey thanks,

Will try, but wouldn't this only be cheked after having imported from the pyz/pkg file via the sys.meta_path hooks?



--
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/2012-01-in-die-cloud-in-die-cloud-aber-wo-soll-die-sein


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