OK, I was having problems with pyglet not detecting avbin from a bundled py2app, and now know why. My py2app application includes an editor, from which users run their scripts and it was from these that avbin wasn't detected. The problem is that they run in a separate process and then the sys.frozen attribute is set to None. As a result, pyglet doesnt append the bundled Frameworks directory to the search path.
Could pyglet append join(sys.prefix, '..', 'Frameworks') to its find_lib search path instead of join(os.environ['RESOURCEPATH'],'..', 'Frameworks') ? The effect would be the same but no need to check if the python is frozen. thanks for your help and all the best, Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" 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/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
