[Zope3-Users] How to organize common code for Z2 and Z3
Andreas Jung
lists at andreas-jung.com
Wed Apr 13 11:38:58 EDT 2005
--On Mittwoch, 13. April 2005 11:19 Uhr -0400 Stephan Richter
<srichter at cosmos.phy.tufts.edu> wrote:
> So the tricky part is to not run the tests in "textindexng/TextIndexNG"
> when testing from Zope 3's test runner. I could work with you on some
> testing support for this.
>
> So in effect, in Zope 3 you would have:
>
> src/textindexng
> +-- TextIndexNG (not used or even distributed)
>
> In Zope 2:
>
> lib/python
> +-- textindexng
> +-- Products
> +-- TextIndexNG
>
> I think this would be a usable pattern; what do you think?
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 :-)
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/a0d1c80f/attachment.bin
More information about the Zope3-users
mailing list