Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

ZC Buildout recipe to fake zope 2 packages as eggs.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page