[Distutils] [ANN] pkgdata
Bob Ippolito
bob at redivi.com
Thu Mar 25 13:28:35 EST 2004
On Mar 25, 2004, at 11:28 AM, Phillip J. Eby wrote:
> At 11:11 AM 3/25/04 -0500, Bob Ippolito wrote:
>> As per the BOF last night, here is the pkgdata module that I
>> mentioned. Currently the only project using it is pygame. The
>> "sys.datapath" mechanism that I talked about *could actually be
>> implemented* on top of this system, supposing an appropriate adapter
>> was written to support it! Remember: pkgdata is *just a hook*. It
>> doesn't do anything other give the eventual option of doing something
>> smarter than os.path.join(os.path.basedir(__file__), data). When you
>> figure out what something smarter is, or you change your mind about
>> what the smarter solution is (inside of an app bundle vs. system wide
>> install, etc.), you don't have to refactor any of the code that uses
>> pkgdata.
>
> Do you plan to support the PEP 302 'get_data()' facility?
Probably not, I don't think anyone ever implemented it, and it seems
more complicated than it needs to be. If someone really does use it,
and thinks it should be implemented, please speak up.
-bob
More information about the Distutils-SIG
mailing list