
24 Aug
2012
24 Aug
'12
2:24 p.m.
Hi Nicklas,
On Tue, Jul 31, 2012 at 2:16 AM, Nicklas Nordenmark nordenmark@gmail.com wrote:
From the Pyinstaller manual (http://www.pyinstaller.org/export/develop/project/doc/Manual.html?format=raw):
In most sophisticated apps, it becomes necessary to figure out (at runtime) whether you're running "live" or "frozen". For example, you might have a configuration file that (running "live") you locate based on a module's __file__ attribute. That won't work once the code is packaged up. You'll probably want to look for it based on sys.executable instead.
Would you be interested in preparing a pull-request to handle this issue?
Regards Stéfan