zc.recipe.egg
raw JSON → 4.0.0 verified Fri May 01 auth: no python
Buildout recipe for installing Python package distributions as eggs. Version 4.0.0 requires Python >=3.9. Part of the zc.buildout ecosystem, used in buildout configurations to fetch and install Python packages. Release cadence is low; maintained as part of the buildout project.
pip install zc.recipe.egg Common errors
error ImportError: No module named zc.recipe.egg ↓
cause The package is not installed or installed in the wrong environment.
fix
Run 'pip install zc.recipe.egg' in the target Python environment.
error TypeError: 'module' object is not callable ↓
cause Attempting to call zc.recipe.egg directly (e.g., zc.recipe.egg(...)) instead of using the class.
fix
Use 'from zc.recipe.egg import Egg' and then instantiate Egg(...).
Warnings
breaking Python 2 support removed in version 2.0.0 (2017). All users must upgrade to Python 3. ↓
fix Ensure Python >=3.9 is used for version 4.0.0
deprecated Setuptools integration changed; 'extra-paths' and 'include-dirs' options may not work as expected in newer setuptools versions. ↓
fix Use 'zc.recipe.egg' with modern buildout and setuptools; consider using pip-based recipes instead.
gotcha The recipe is not intended to be used directly via import; it's designed to be invoked by buildout. Importing and calling Egg() manually may lead to unexpected behavior. ↓
fix Use zc.recipe.egg only within a zc.buildout configuration file.
Imports
- Egg wrong
import Eggcorrectfrom zc.recipe.egg import Egg - Develop wrong
from zc.recipe import eggcorrectfrom zc.recipe.egg import Develop
Quickstart
from zc.recipe.egg import Egg
# Typically used within a buildout configuration, not standalone
# Example: eggs = ['somepackage'] in a buildout.cfg recipe section