how do I get configuration from buildout in my plone products?

How do I include configuration information from Buildout in my Plone products?

One of the plone products i'm working on reads and writes info to and from the filesystem. It currently does that inside the egg namespace (for example inside plone/product/directory), but that doesn't look quite right to me.

The idea is to configure a place to store that information in a configurable path, just like iw.fss and iw.recipe.fss does.

For example, save that info to ${buildout:directory}/var/mydata.

9
задан Martijn Pieters 27 May 2011 в 07:12
поделиться