[Distutils] [ANN] pkgdata

Phillip J. Eby pje at telecommunity.com
Thu Mar 25 11:28:51 EST 2004


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?




More information about the Distutils-SIG mailing list