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 http://code.simplon.biz/svn/projects/syslab/euphorie/buildout/trunk/src/Euphorie/setup.py . 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.

Wichert.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to