On Sun, Mar 7, 2010 at 10:55 AM, Greg Ewing <[email protected]> wrote:
> Richard Jones wrote:
>>
>> By default pyglet's resource module only adds the *current working
>> directory* to the resource path.
>
> That sounds like a bad idea to me. A program's resources should
> be located relative to the code, not where the user happens to
> have the cwd set.
Sure, but how does pyglet's resource module know where the program's
code is? The only thing pyglet knows is the location of __main__ which
is *probably* the right place.
Richard
--
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.