Re: [Zope3-Users] retrieving zope.conf parameters and paths of buildout dirs

2008-04-19 Thread Yuan HOng
One caveat, I you are using product-config directive to specify your application directory, please note that it can not be retrieved by zope.app.appsetup.getProductConfig if you are using zope.app.wsgi to start your zope3 application. In stead, a patch to zope.app.wsgi is needed. See my mail 2

[Zope3-Users] retrieving zope.conf parameters and paths of buildout dirs

2008-04-17 Thread Christophe Combelles
Hi, I'm looking for reliable ways in my application code to retrieve the path of some directories or files in a zopeproject buildout. When I need to get a sample data file for tests in a package I'm just using join(dirname(package_name.__file__), 'sampledata') and that's ok. But how do I

Re: [Zope3-Users] retrieving zope.conf parameters and paths of buildout dirs

2008-04-17 Thread Bernd Dorn
On 17.04.2008, at 18:23, Christophe Combelles wrote: Hi, I'm looking for reliable ways in my application code to retrieve the path of some directories or files in a zopeproject buildout. When I need to get a sample data file for tests in a package I'm just using