Skellington and Pyglet.resource

(thanks to rjones on #pyweek!) If you want to use pyglet.resources with skellington, you need to add the following lines to data.py after you import pyglet: pyglet.resource.path.append('data') pyglet.resource.reindex() Then everything will work.

(log in to comment)

Comments

Something I'm wondering, is data.py even necessary if you use pyglet.resources? I'm using pyglet.resources without data.py and so far it hasn't caused me any trouble, but I want to know if it might.
It shouldn't be necessary.