Skip to content

fontlab_instamix.markers

markers

Evaluate PEP 508 environment markers for FontLab's embedded Python.

Used by bootstrap to decide which dependencies apply. The environment is FontLab's target (Python 3.11 on this machine's OS), not the interpreter that runs instamix.

Classes

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
VERSION_VARS attribute
applies function (spec: str, extra: str='') -> bool Return whether requirement spec applies to FontLab's Python.
environment function (extra: str='') -> dict[str, str] Return the marker variables for FontLab's Python on this machine.
evaluate function (marker: str, extra: str='') -> bool Return whether marker holds for FontLab's Python; an empty marker holds.
split function (spec: str) -> tuple[str, str] Split a requirement into (requirement, marker); URL requirements need ' ;'.