[Distutils] Install time prefixes and data files

Wolodja Wentland wentland at cl.uni-heidelberg.de
Wed Nov 11 19:30:02 CET 2009

On Wed, Nov 11, 2009 at 16:24 +0100, Wolodja Wentland wrote:

> The installation prefixes could for example be saved within a suitable
> file in .egg-info/ which would mandate changes to PEP 376. I could think
> of a PREFIX file and the following  methods/attribute for e.g. the
> Distribution class

I guess the pkgutil module is a much better place for these functions.
(Sorry, am not that familiar with all the PEPs yet)

> * get_data_file(type, name) -> get data file of given type and name (see

This could for example be easily implemented once
Distribution.get_installed_files(local=False) is done, if the
type of the files are noted somewhere.

  .''`.     Wolodja Wentland    <wentland at cl.uni-heidelberg.de> 
 : :'  :    
 `. `'`     4096R/CAF14EFC 
   `-       081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091111/de18b2db/attachment.pgp>

More information about the Distutils-SIG mailing list