Martin Aspeli wrote:
Jim Fulton wrote:
[foo] recipe=zc.recipe.egg eggs = egg1 egg2 ... interpreter = mypy extra-paths = path-to-your-instance/lib/python scripts = mypy
This is great :) I used eggs = ${instance:eggs} to make sure it has the same eggs as our Zope instance, seems to work very well.
I don't suppose there's any way to make old-style products (e.g Products.CMFCore) available for import as well?
If they're deployed as eggs (http://wiki.zope.org/zope2/EggifyingZopesExtensionMechanismQuotProductsQuot) then they would be importable. Of course, you'd also need Zope 2 on your PYTHONPATH. -- http://worldcookery.com -- Professional Zope documentation and training Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5