[Zope] module shared between products

Dieter Maurer dieter at handshake.de
Mon Nov 24 13:12:40 EST 2003


David Little wrote at 2003-11-24 16:21 +0000:
 > I am developing a project which I have split into two products to avoid
 > having too many files in one place. I want to use a common base class in
 > each but I can't find out to do this while keeping all three product
 > directories together.
 > 
 > There is something about multiple product directories the archives:
 > " If you are prepared to edit Products/__init__.py add a line:
 >     __path__.append('yourpathhere') "

This is to provide additional "Products" folders.
There is also an environment variable to this end (such that one
does not need to edit the sources).

As Toby already pointed out, however, your problem is solved
without the need to have additional folders for products.

-- 
Dieter



More information about the Zope mailing list