From df038cc3337db90f2c47b849e3072f4369b26531 Mon Sep 17 00:00:00 2001 From: Daniel Holth Date: Wed, 10 Oct 2012 19:23:03 -0400 Subject: [PATCH] lower wheel spec version --- pep-0427.txt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pep-0427.txt b/pep-0427.txt index 623be25c9..20a412d1e 100644 --- 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 @@ -25,6 +25,15 @@ preserving enough information to spread its contents out onto their 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 @@ Details 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 @@ Installing a wheel 'distribution-1.0.py32.none.any.whl' (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 @@ File contents #. 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