On 23-feb-04, at 0:24, Bob Ippolito wrote:
I saw a system for including package resources (name eludes me at the
moment) by converting the binaries to python code.. so that the
resources ended up being Python strings(!!) on import.. I don't think
this is a general solution, and it probably has the capability to
increases memory consumption and load time considerably, but it
*would* work as a hack ;)
Brrrr :-)
In any case, would anyone like to implement this? I am probably too
busy to get around to it for a few weeks (and I honestly don't really
want to write it), but I would be probably integrate it into
bundlebuilder2 sooner than that if it sprung into existence.
Implementation is going to be peanuts, design is what we want.
We should investigate the paradigms people use nowadays to get at
their datafiles, and come up with something that is as close as
possible to that.
How does pygame find its datafiles?
pygame actually does it in a C extension when it's looking for its font
file.. so it's not really typical usage. I will change pygame
accordingly when method exists.