On Tue, Sep 15, 2009 at 6:29 PM, P.J. Eby <p...@telecommunity.com> wrote: > 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.)
Note #2: Beware that this also assumes that you use Setuptools instead of Distutils for your project. Things like "include_package_data" are not part of the Distutils project. I'll answer for a Distutils solution as soon as I have some time (hopefully tonight) Tarek _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig