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.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|affinitic.recipe.fakezope2eggs-0.4-py2.4.egg (5.6 kB) Copy SHA256 hash SHA256||Egg||2.4||Mar 25, 2008|
|affinitic.recipe.fakezope2eggs-0.4.tar.gz (3.0 kB) Copy SHA256 hash SHA256||Source||None||Mar 25, 2008|