Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.1 KB

wheel-vs-egg.rst

File metadata and controls

49 lines (34 loc) · 2.1 KB

Wheel vs Egg

: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>`.