Florian Höch wrote:
Hi,

What you really want to do is remove the directory where your application resides from sys.path, while keeping other entries.

I'm well aware that sys.path should not be empty -- the point is, even if it's empty the packed binary is still doing those damn imports of scripts in current directory and I have no idea how to stop that.

Apparently they are imported via a way different than sys.path: it's probably that importHook function in pyinstaller.

Regards,
mk

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

Reply via email to