{% import "partials/icons.html" as ic %} {% if result %}
{{ ic.icon('check', 15) }}
Wheelhouse exported

{{ result.wheelhouse.root.name }}/

{# A plain link, not htmx: this response is a file, and swapping a zip into the page is not a thing. #} {{ ic.icon('package', 14) }} Download {{ draft.document.id }}-wheelhouse.zip

Install it anywhere with pip alone:

pip install --no-index --find-links {{ result.wheelhouse.root.name }} {{ result.wheelhouse.distribution }}
Wheels
{{ result.wheelhouse.wheels | length }} ({{ (result.wheelhouse.size_bytes / 1048576) | round | int }} MB)
Framework
{{ result.pin.kind }}{% if result.pin.commit %} @ {{ result.pin.commit[:12] }}{% elif result.pin.version %} {{ result.pin.version }}{% endif %}
Python
{{ result.wheelhouse.python_tags | join(', ') }}
uv
{{ result.manifest.runtime.uv or 'not recorded' }}
uv sync --locked
{{ 'verified' if result.verified else 'not run' }}
Package tests
{{ 'passed' if result.tested else 'not run' }}

These wheels were resolved on this machine's platform, once per interpreter above: they install under any of those Pythons, but on this platform only.

{% if result.warnings %} {% endif %}
{% else %}
{{ ic.icon('alert', 15) }}
Export failed — nothing to download

{{ error }}

{% endif %} {% if log %}
Export log
{{ log }}
{% endif %}