[Zope3-dev] packaging conventions note

Jim Fulton jim@zope.com
Fri, 13 Dec 2002 16:47:12 -0500


Phillip J. Eby wrote:
...
> 
> *Please* don't put things in the __init__.py of Zope 3 packages, 
> especially those packages that have subpackages.  I'd like to be able to 
> import and reuse pieces of Z3 functionality without loading entire 
> frameworks and their requirements.  This made it very difficult to use 
> Zope 2 pieces.

This really only applies to the zope and zopeproducts packages,
which are meant to be namespace packages. See my other note on
namespace vs module packages.

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org