Skip to content

fontlab_instamix.distinfo

distinfo

Write a .dist-info folder for a project installed from a checkout.

With it, importlib.metadata.version(name) and uv pip check see the project. The bytes match the legacy install.vfpy output except for INSTALLER, which says fontlab-instamix.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
INSTALLER attribute
WHEEL attribute
folder_name function (name: str, version: str) -> str Dist-info folder name for name and version.
metadata function (name: str, version: str, requires: list[str], extras: dict[str, list[str]]) -> str METADATA text with Requires-Dist and Provides-Extra lines.
normalize function (name: str) -> str Name as used in dist-info folder names (PEP 503, then underscores).
stale function (data: Path, name: str) -> list[Path] Dist-info folders of name written by instamix (any version).
write function (data: Path, name: str, version: str, requires: list[str], extras: dict[str, list[str]], packages=()) -> list… Create the dist-info folder in site-packages; return the files written.