[Python-checkins] peps: lower wheel spec version
daniel.holth
python-checkins at python.org
Thu Oct 11 01:23:24 CEST 2012
http://hg.python.org/peps/rev/e5f21965677e
changeset: 4551:e5f21965677e
user: Daniel Holth <dholth at fastmail.fm>
date: Wed Oct 10 19:23:03 2012 -0400
summary:
lower wheel spec version
files:
pep-0427.txt | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/pep-0427.txt b/pep-0427.txt
--- a/pep-0427.txt
+++ b/pep-0427.txt
@@ -1,5 +1,5 @@
PEP: 427
-Title: The Wheel Binary Package Format 1.0
+Title: The Wheel Binary Package Format 0.1
Version: $Revision$
Last-Modified: $Date$
Author: Daniel Holth <dholth at fastmail.fm>
@@ -25,6 +25,15 @@
final paths at any later time.
+Note
+====
+
+This draft PEP describes version 0.1 of the "wheel" format. When the PEP
+is accepted, the version will be changed to 1.0. (The major version
+is used to indicate potentially backwards-incompatible changes to the
+format.)
+
+
Rationale
=========
@@ -49,7 +58,9 @@
Installing a wheel 'distribution-1.0.py32.none.any.whl'
-------------------------------------------------------
-#. Unpack.
+Wheel installation notionally consists of two phases:
+
+- Unpack.
a. Parse ``distribution-1.0.dist-info/WHEEL``.
b. Check that installer is compatible with Wheel-Version. Warn if
@@ -58,7 +69,7 @@
(site-packages).
d. Else unpack archive into platlib (site-packages).
-#. Spread.
+- Spread.
a. Unpacked archive includes ``distribution-1.0.dist-info/`` and (if
there is data) ``distribution-1.0.data/``.
@@ -125,7 +136,7 @@
#. Wheel files contain metadata about the wheel format itself in
``{distribution}-{version}.dist-info/WHEEL``::
- Wheel-Version: 1.0
+ Wheel-Version: 0.1
Generator: bdist_wheel 0.7
Root-Is-Purelib: true
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list