On Tue, 2010-02-23 at 23:27 -0800, Prashant Saxena wrote:
> Hi,
>
> By default all lib*.so , wx_*.so goes into the target directory. How
> do I set pyinstaller options so that all libs go into
> {target-folder}/lib
> folder. Target folder looks crappy with all those libs.
This is unsupported, because the main executable needs to know where the
libraries are located, and currently the bootloader hardcodes the same
directory of the executable.
> When you execute app(Linux) using console, internally os.getcwd()
> returns correct directory but when you execute app using file manager
> (dolphin, nautilus etc) by clicking, os.getcwd() returns a different
> directory. Why it's like that?
This is standard Linux behaviour. Do not rely on getcwd(), use
"dirname(sys.executable)" (only in freezed mode).
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
--
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.