[Distutils] Get install prefix for module at runtime

P.J. Eby pje at telecommunity.com
Tue Sep 15 18:29:54 CEST 2009


At 05:38 PM 9/15/2009 +0200, Wolodja Wentland wrote:
>How is this normally solved?

Installing the data with one project:
http://peak.telecommunity.com/DevCenter/setuptools#including-data-files


Retrieving it from the same or a different project:
http://peak.telecommunity.com/DevCenter/PkgResources#basic-resource-access


(Note: this assumes that the data files in question are static, i.e., 
constant data which does not change.  If by "data" you mean files 
that are actually changed by the programs involved, this is *not* the 
way to do it.)



More information about the Distutils-SIG mailing list