[Product-Developers] Re: unit test on Plone 4.0b1

Wichert Akkerman wichert at wiggy.net
Sat Mar 20 13:56:13 UTC 2010

On 3/20/10 13:27 , leejason wrote:
> Hi, Wichert,
> Thanks for pointing out the difference and suggestion. Would you mind
> explaining how to have "all the dependencies pulled in properly"? I bumped
> into the following if ${instance:eggs} is removed:
>      from zope.i18nmessageid import MessageFactory
>      ImportError: No module named i18nmessageid

You need to have Plone and all other packages you use listed in the 
install_requires list in setup.py. That list can be quite large. If you 
want an example you can look at 
. The general rule is: if you import code from a package that package 
must be listed in install_requires.

That buildout is possibly also a nice example of how to support both 
Plone 3 and 4 in single buildout and single source tree.


More information about the Product-Developers mailing list