ZC Buildout recipe to fake zope 2 packages as eggs.
Zope 2 isn’t eggified yet, Zope 3 does. That can become a problem if you want to install some egg with depedencies related to Zope 3 eggs (such as zope.interface, zope.component, …)
This buildout recipe will simply add some fake egg link to zope libraries (installed inside zope/lib/python/zope/…) so that setuptools can see that the dependencies are already satisfied and it won’t fetch them anymore.
Just add it to your buildout config like this:
[buildout] parts = ... your other parts ... fakezope2eggs [fakezope2eggs] recipe = affinitic.recipe.fakezope2eggs
Be careful to run this recipe after the plone.recipe.zope2install recipe.
You might also want to add other fake eggs to your buildout, to do so use the additional-fake-eggs option, for example:
[buildout] parts = ... your other parts ... fakezope2eggs [fakezope2eggs] recipe = affinitic.recipe.fakezope2eggs additional-fake-eggs = ZODB3
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for affinitic.recipe.fakezope2eggs-0.3.tar.gz
Hashes for affinitic.recipe.fakezope2eggs-0.3-py2.4.egg