From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Python wheel" |
|---|
| claim | "Installing a wheel is unpack plus spread: read dist-info/WHEEL, warn if Wheel-Version minor is newer and abort if major is newer, unpack the root into purelib when Root-Is-Purelib is true else platlib, then move each name-version.data/<key> subtree (purelib, platlib, headers, scripts, data) to its sysconfig path, rewrite scripts starting with exactly #!python (#!pythonw for GUI), update RECORD and compile .py files. No package code runs; wheels do not contain setup.py." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Python wheel" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "pip or another installer installs a .whl" |
|---|
| effect | "files unpacked and moved; no install-time script execution defined by the format" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Installing a wheel section, recommended installer features, and the File contents list with the WHEEL example (Wheel-Version, Generator, Root-Is-Purelib, Tag, Build) and the statement that wheel does not contain setup.py or setup.cfg." |
|---|
| repo | "https://github.com/pypa/packaging.python.org" |
|---|
| commit | "d1ad4ad3d6d6f3a3582e4c6b8a1b6f8284f4cb3b" |
|---|
| path | "source/specifications/binary-distribution-format.rst" |
|---|
| lines | "23-70, 189-232" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Install procedure and WHEEL file" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T07:16:15.286Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:28:12.784Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read binary-distribution-format.rst lines 20-75 and 185-260 at d1ad4ad: unpack/spread steps, minor warn/major abort, #!python and #!pythonw rewriting (listed as recommended installer features), RECORD update, .pyc compilation, no setup.py." |
|---|
|
|
|---|