matt wilkie píše v St 23. 11. 2011 v 15:18 -0800:
> can you tell from this if there is something that needs to be changed
> in the Leo code to make this work, or something added to the
> pyinstaller .spec file?

http://bazaar.launchpad.net/~leo-editor-team/leo-editor/trunk/view/head:/leo/core/leoGlobals.py

line 250:   path = g.__file__

module.__file__ does not work in pyinstaller.

You have to use sys.executable when running executable created by
pyinstaller.

if hasattr(sys, 'frozen'):  # detects if running from the executable.

See doc for more details.
   

-- 
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