wheel clarifications

This commit is contained in:
Daniel Holth 2013-03-10 13:33:33 -04:00
parent 2c3b8db87c
commit 9614d07cdf
1 changed files with 18 additions and 0 deletions

View File

@ -96,6 +96,9 @@ Rewrite ``#!python``.
point to the correct interpreter. Unix installers may need to add
the +x bit to these files if the archive was created on Windows.
The ``b'#!pythonw'`` convention is allowed. ``b'#!pythonw'`` indicates
a GUI script instead of a console script.
Generate script wrappers.
In wheel, scripts packaged on Unix systems will certainly not have
accompanying .exe wrappers. Windows installers may want to add them
@ -288,6 +291,8 @@ RECORD as the signature's JSON payload::
{ "hash": "sha256=ADD-r2urObZHcxBW3Cr-vDCu5RJwT4CaRTHiFmbcIYY" }
(The hash value is the same format used in RECORD.)
If RECORD.p7s is used, it must contain a detached S/MIME format signature
of RECORD.
@ -361,6 +366,19 @@ Why does wheel also allow S/MIME signatures?
Signed packages are only a basic building block in a secure package
update system. Wheel only provides the building block.
What's the deal with "purelib" vs. "platlib"?
Wheel preserves the historic "purelib" vs. "platlib" distinction
even though both map to the same install location in any system the
author could find.
For example, a wheel with "Root-Is-Purelib: false" with all its files
in ``{name}-{version}.data/purelib`` is equivalent to a wheel with
"Root-Is-Purelib: true" with those same files in the root, and it
is legal to have files in both the "purelib" and "platlib" categories.
In practice a wheel should have only one of "purelib" or "platlib"
depending on whether it is pure Python or not and those files should
be at the root.
References
==========