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||File type||Python version||Upload date||Hashes|
|Filename, size affinitic.recipe.fakezope2eggs-0.4-py2.4.egg (5.6 kB)||File type Egg||Python version 2.4||Upload date||Hashes View|
|Filename, size affinitic.recipe.fakezope2eggs-0.4.tar.gz (3.0 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for affinitic.recipe.fakezope2eggs-0.4-py2.4.egg
Hashes for affinitic.recipe.fakezope2eggs-0.4.tar.gz