Giovanni Bajo wrote:
On Fri, 2010-02-05 at 17:38 +0100, Marcin Krol wrote:
Linux RH [17:35] root /var/www/html # ./cssh
PyInstaller doesn't prevent importing files outside the package. This
makes it easy to handle third-party plugins and the link.
Of course, I agree that it's a bad default and should be changed. If you
think it's worth it, remove the current directory from sys.path at
startup.
Thanks, I will, but...
The "not preventing importing" part I understand. But why is the packed
binary actively trying to import .py files in the current directory is
the part I don't understand? After all, my script when not packed is not
trying to do that?
I'm not saying this should be changed. I'm trying to understand what the
heck this packed binary is doing.
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.