[Zope3-Users] Getting SOFTWARE_HOME

Darryl Cousins darryl at darrylcousins.net.nz
Sat Jul 22 19:57:25 EDT 2006


Hi David,

Just for the record (because I know what you are getting at) I found
this in zope/i18n/locales/tests:

import os
import zope.i18n
locale_data = os.os.path.join(os.path.dirname(zope.i18n.__file__), 'locales', 'data')

which does the job.

Best regards,
Darryl

On Sat, 2006-07-22 at 12:37 -0300, David Pratt wrote:
> Can someone advise how get a handle of SOFTWARE_HOME on a running zope3 
> instance. Many thanks.
> 
> Regards,
> David



More information about the Zope3-users mailing list