[Zope3-dev] RFC: Zope Configuration Egg Support
Jim Fulton
jim at zope.com
Mon Oct 23 06:48:03 EDT 2006
Lennart Regebro wrote:
> On 10/22/06, Jim Fulton <jim at zope.com> wrote:
>> I've created a small proposal to add egg support to zope.configuration:
>>
>> http://zope3.zwiki.org/ZopeConfigurationEggSupport
>
> Shouldn't the egg work as a package, so that you still can use the
> package attribute?
If an egg installs a package and if the package isn't a namespace
package, and if the egg isn't zipped, then yes, the package mechanism
will work.
> Or does egg magic only do that for python files?
Do what?
> Because you then get the problem if you switch between an egg version
> and a non-egg version of a module...
I don't know what you are getting at.
Supporting eggs explicitly will allow dealing with a number of situations:
- namespace packages (like zope.app)
- zipped eggs
- eggs with names that aren't the same as the names of
packages they contain.
- Entry points.
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