Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 2.18 KB

File metadata and controls

52 lines (36 loc) · 2.18 KB

Wheel vs Egg

Page Status:Complete
Last Reviewed:2015-09-10

:term:`Wheel` and :term:`Egg` are both packaging formats that aim to support the use case of needing an install artifact that doesn't require building or compilation, which can be costly in testing and production workflows.

The :term:`Egg` format was introduced by :ref:`setuptools` in 2004, whereas the :term:`Wheel` format was introduced by PEP 427 in 2012.

:term:`Wheel` is currently considered the standard for :term:`built <Built Distribution>` and :term:`binary <Binary Distribution>` packaging for Python.

Here's a breakdown of the important differences between :term:`Wheel` and :term:`Egg`.


[1]Circumstantially, in some cases, wheels can be used as an importable runtime format, although :pep:`this is not officially supported at this time <427#is-it-possible-to-import-python-code-directly-from-a-wheel-file>`.