MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / lean_lib_dir

Function lean_lib_dir

lean_py/utils.py:47–49  ·  view source on GitHub ↗

Where Lean's own shared libraries live.

()

Source from the content-addressed store, hash-verified

45
46
47def bundle_dir() -> Path | None:
48 """Directory of a self-contained library bundle, if one is active.
49
50 When ``LEANPY_BUNDLE_DIR`` is set (e.g. by a wheel-installed library's
51 loader), the Lean runtime shared libraries and the user dylib have been
52 vendored and relocated there, so we can resolve everything without an

Callers 4

_ensure_rpathFunction · 0.90
find_lean_dynlibFunction · 0.85
all_lean_runtime_libsFunction · 0.85

Calls 1

lean_prefixFunction · 0.85

Tested by

no test coverage detected