I wanted to share a bit of experience I just had with use of eggs in Zope2.
For a project I am working on I want to use the zope.sendmail package in
a Zope2 environment managed using buildout. I added zope.sendmail to the
eggs list in the buildout configuration and ran buildout. This pulled in
a large part of the Zope3 packages. This produced conflicts between those
packages and the ones included in Zope2 which resulted in a pretty boken

[snow;..stances/revelation]-84> bin/instance test -s zope.sendmail
Traceback (most recent call last):
  File "bin/instance", line 205, in ?
 line 154, in main
    c = AdjustedZopeCmd(options)
"/local/buildout/eggs/tmpCiQPa8/zdaemon-2.0a6-py2.4.egg/zdaemon/zdctl.py", line 
141, in __init__
AttributeError: 'dict' object has no attribute 'mapping'

Adding zope.sendmail as a develop egg instead of a normal egg worked
fine though; no zope.* packages were pulled in by buildout and the
zope.sendmail unittests run flawlessly.

Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to