[Zope-dev] multiple packages in the same namespace

Jim Fulton jim at zope.com
Fri Feb 6 12:24:14 EST 2009


On Feb 6, 2009, at 7:35 AM, Chris Withers wrote:

> Jim Fulton wrote:
>> zope.configuration isn't a namespace package.  It is simply a  
>> package  with subpackages.
>
> Does setuptools support something like:
>
> "packagea":
> packagea/__init__.py
> packagea/amodule.py
>
> "packagea.something":
> packagea/__init__.py
> packagea/something/__init__.py
> packagea/something/bmodule.py

No.

> If so, which packagea/__init__.py gets used?


That's why it doesn't. :) That's also why zope.configuration isn't a  
namespace package.

Jim

--
Jim Fulton
Zope Corporation




More information about the Zope-Dev mailing list