@@ -131,47 +131,6 @@ All technical details on the wheel format can be found in the :ref:`wheel
131131specification <binary-distribution-format>`.
132132
133133
134- .. _egg-format :
135- .. _`Wheel vs Egg` :
136-
137- What about eggs?
138- ================
139-
140- "Egg" is an old package format that has been replaced with the wheel format. It
141- should not be used anymore. Since August 2023, PyPI `rejects egg uploads
142- <pypi-eggs-deprecation_> `_.
143-
144- Here's a breakdown of the important differences between wheel and egg.
145-
146- * The egg format was introduced by :ref: `setuptools ` in 2004, whereas the wheel
147- format was introduced by :pep: `427 ` in 2012.
148-
149- * Wheel has an :doc: `official standard specification
150- </specifications/binary-distribution-format>`. Egg did not.
151-
152- * Wheel is a :term: `distribution <Distribution Package> ` format, i.e a packaging
153- format. [#wheel-importable ]_ Egg was both a distribution format and a runtime
154- installation format (if left zipped), and was designed to be importable.
155-
156- * Wheel archives do not include ``.pyc `` files. Therefore, when the distribution
157- only contains Python files (i.e. no compiled extensions), and is compatible
158- with Python 2 and 3, it's possible for a wheel to be "universal", similar to
159- an :term: `sdist <Source Distribution (or "sdist")> `.
160-
161- * Wheel uses standard :ref: `.dist-info directories
162- <recording-installed-packages>`. Egg used ``.egg-info ``.
163-
164- * Wheel has a :ref: `richer file naming convention <wheel-file-name-spec >`. A
165- single wheel archive can indicate its compatibility with a number of Python
166- language versions and implementations, ABIs, and system architectures.
167-
168- * Wheel is versioned. Every wheel file contains the version of the wheel
169- specification and the implementation that packaged it.
170-
171- * Wheel is internally organized by `sysconfig path type
172- <https://docs.python.org/2/library/sysconfig.html#installation-paths> `_,
173- therefore making it easier to convert to other formats.
174-
175134--------------------------------------------------------------------------------
176135
177136.. [#core-metadata-format ] This format is email-based. Although this would
@@ -181,13 +140,6 @@ Here's a breakdown of the important differences between wheel and egg.
181140 understood by the build backend, typically ``[project] `` in ``pyproject.toml ``,
182141 and translated by the build backend into ``PKG-INFO ``.
183142
184- .. [#wheel-importable ] Circumstantially, in some cases, wheels can be used
185- as an importable runtime format, although :ref: `this is not officially supported
186- at this time <binary-distribution-format-import-wheel>`.
187-
188-
189-
190143 .. _pip-pypi : https://pypi.org/project/pip/23.3.1/#files
191144.. _pypi : https://pypi.org
192- .. _pypi-eggs-deprecation : https://blog.pypi.org/posts/2023-06-26-deprecate-egg-uploads/
193145.. _pypy : https://pypy.org
0 commit comments