Python Eggs are a python binary distribution format.
A “Python egg” is a logical structure embodying the release of a specific version of a Python project, comprising:
- its code,
- project metadata including scripts
- and information about the project’s dependencies.
- cross-platform (for “pure” packages),
- directly importable,
They can be simply downloaded and added to sys.path directly, or they can be placed in a directory on sys.path and then automatically discovered by the egg runtime system.
the project’s metadata (.egg-info) directory
See the command
egg_info must always appear on the command line before any commands that you want the version changes to apply to.
- Creating a dated “nightly build” snapshot egg:
python setup.py egg_info --tag-date --tag-build=DEV bdist_egg
python setup.py egg_info -RDb "" sdist bdist_egg