On 30/09/13 11:46, "Juan J. Martínez" wrote: > [...] >> >> Should also check consistency with py2app (my app has not worked with >> py2app for some reason, I don't remember exactly, still there are many >> users of it). > > Yes, that would be great. > > I think our local lib patch is OK, is just that we need to improve > script_home.
OK, I've tested this with cx_Freeze in Linux and it is... confusing: sys.forzen is just True. I've check py2exe, py2app and cx_Freeze source code and these are my findings: - sys.freeze can be windows_exe or console_exe in py2exe - sys.freeze can be macosx_app in py2app; I've checked the os.environ thing and seems OK! - sys.freeze is True in cx_Freeze and __main__.__file__ doesn't exist So to properly support cx_Freeze we should add an alternative using the documented method: os.path.dirname(sys.executable). It works perfect in Linux, so I'm going to assume it will be the same in Mac. Try it and let me know if it works in Mac: http://code.google.com/p/pyglet/source/detail?r=f697f60235f30e9662d7f07195524e43e7a06520 >> Could you also check AVbin issue? (just apply the patch and play the movie) >> The mp3 plays fine with and without the patch, I can't tell if there's an improvement. The video shows a glitch at the beginning and the patch fixes it. Well done! Regards, Juan -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
