[Zope3-Users] How to organize common code for Z2 and Z3

Andreas Jung lists at andreas-jung.com
Wed Apr 13 11:57:36 EDT 2005



--On Mittwoch, 13. April 2005 11:51 Uhr -0400 Stephan Richter 
<srichter at cosmos.phy.tufts.edu> wrote:

> On Wednesday 13 April 2005 11:38, Andreas Jung wrote:
>> This sounds like a reasonable approach. How would deal with data files
>> shared by Zope 2 and Zope 3 (e.g. stopword lists)? I think they don't
>> belong into lib/python/textindexng. Maybe I just have to run against the
>> wall first and try things out :-)
>
> Where do you place them right now? I think for development they can be in
> src/textindexng/data (or similar) and in the release we can move them to
> a  better place. I guess we will need a configuration file to specify the
> path?

Since I am working currently with Zope 2.8 + Five my structure looks
very traditional:

 Products/TextIndexNG3/*.py
                       data/stopwords
                       data/normalizers
....

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20050413/3f793d5c/attachment.bin


More information about the Zope3-users mailing list