Expand description
Installed-environment introspection. When a virtualenv is present, reads
*.dist-info metadata from site-packages to (a) map import names to
distributions accurately (beyond the static alias table) and (b) know which
distributions are actually installed — which lets deps distinguish a
transitive dependency (installed but undeclared) from a genuinely
missing one (not installed at all). Best-effort: absent venv → None.
Structs§
Functions§
- discover
- Discover and parse the project’s virtualenv
site-packages, if any.