Am 28.02.2011 20:32, schrieb Hartmut Goebel:
Am 28.02.2011 17:42, schrieb Florian Höch:
I noticed that running bindepend.py or the scripts in 'utils' is
broken in the current trunk, it fails with an ImportError 'No module
named PyInstaller' (for now, I hacked around this in my local copy by
fudging with sys.path).
The script in utils are meant to be run from the PyInstaller main
directory. This should work, if the current directory is on your
$PYTHONPATH.
Yes, adding it to PYTHONPATH works, but isn't very intuitive imho. Maybe
adding some other options to pyinstaller.py could be another
possibility? E.g.
pyinstaller.py --bindepend <binary>
pyinstaller.py --viewarchive <binary>
etc.
Changing the scripts and hacking sys.path is not a good idea. You should
use $PYTHONPATH for this. This is what it is meant for.
That's why I called it a hack :) I think I'd prefer something like my
above suggestion.
Regards
--
Florian Höch
--
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.