{"id":24862,"library":"zc-recipe-egg","title":"zc.recipe.egg","description":"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.","status":"active","version":"4.0.0","language":"python","source_language":"en","source_url":"https://github.com/buildout/buildout/tree/master/zc.recipe.egg_","tags":["buildout","recipe","egg","build","packaging"],"install":[{"cmd":"pip install zc.recipe.egg","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Runtime dependency; recipe is used within buildout","package":"zc.buildout","optional":false}],"imports":[{"note":"Egg is not a top-level module; must import from zc.recipe.egg","wrong":"import Egg","symbol":"Egg","correct":"from zc.recipe.egg import Egg"},{"note":"Develop is not directly importable via 'zc.recipe.egg' submodule; use explicit import","wrong":"from zc.recipe import egg","symbol":"Develop","correct":"from zc.recipe.egg import Develop"}],"quickstart":{"code":"from zc.recipe.egg import Egg\n# Typically used within a buildout configuration, not standalone\n# Example: eggs = ['somepackage'] in a buildout.cfg recipe section","lang":"python","description":"Quick import of Egg recipe class. Actual usage is via zc.buildout configuration files, not direct Python calls."},"warnings":[{"fix":"Ensure Python >=3.9 is used for version 4.0.0","message":"Python 2 support removed in version 2.0.0 (2017). All users must upgrade to Python 3.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Use 'zc.recipe.egg' with modern buildout and setuptools; consider using pip-based recipes instead.","message":"Setuptools integration changed; 'extra-paths' and 'include-dirs' options may not work as expected in newer setuptools versions.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Use zc.recipe.egg only within a zc.buildout configuration file.","message":"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.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install zc.recipe.egg' in the target Python environment.","cause":"The package is not installed or installed in the wrong environment.","error":"ImportError: No module named zc.recipe.egg"},{"fix":"Use 'from zc.recipe.egg import Egg' and then instantiate Egg(...).","cause":"Attempting to call zc.recipe.egg directly (e.g., zc.recipe.egg(...)) instead of using the class.","error":"TypeError: 'module' object is not callable"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}