Am 28.02.2011 21:36, schrieb Hartmut Goebel:
Am 28.02.2011 20:54, schrieb Florian Höch:
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.
Now this is a real hack!

I guess the list got rid of the spaces that were originally there. It should read like this (hope the list won't mangle it again):

pyinstaller.py --bindepend   binary
pyinstaller.py --viewarchive   binary
(there should now hopefully be spaces between the option and the 'binary')

The problem is you are running on Windows, from the "wrong" directory.
Are you using the GUI (Windows explorer), or are you working from
command line?

Command line, from the 'root' pyinstaller directory (not the 'PyInstaller' module subdirectory).

So one solution could be adding a .bat file. But this would require a
.bat for each of the files in utils. So the better solution is to just
run from the PyInstaller main directory like this:

python utils\bindepend.py

Yes, but this only works if the pyinstaller root directory is on PYTHONPATH. Not a big problem of course, but personally I do not often (have to) change PYTHONPATH and have a tendency to forget about it after a while when I do, which then leads to certain things working for me but not for others etc. pp. That's why I don't really like changing it, but it's only personal preference.

BTW: pyinstaller.py does not use any any "binary", but uses modules
imported from package PyInstaller (which is located in directory
PyInstaller)

Sure, but how does that relate to my suggestion? Sorry I don't understand.

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.

Reply via email to