[Zope3-dev] Re: RFC: Zope Configuration Egg Support

Jim Fulton jim at zope.com
Mon Oct 23 09:49:11 EDT 2006


Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Benji York wrote:
>> Jim Fulton wrote:
>>> Perhaps we should change the package option so that it uses the
>>> pkg_resources
>>> API to load ZCML files from packages.
>> +1  I'd prefer not having to specify if the source was an egg or just a
>> "normal" package.
> 
> +1 here as well, because it avoids breaking user-edited ZCML for the
> "simple" case (a package which used to be installed traditionally is now
> installed as an egg). 

Good point,

 > The rarer cases (namespace packages, or those
> whose egg names don't match their package names) may still require the
> extra syntax.

Exactly.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list