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

Function lean_include_dir

lean_py/utils.py:52–54  ·  view source on GitHub ↗

Directory containing `lean/lean.h`.

()

Source from the content-addressed store, hash-verified

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
53 installed toolchain. See :mod:`lean_py.packaging`.
54 """
55 d = os.environ.get("LEANPY_BUNDLE_DIR")
56 return Path(d) if d else None
57

Callers

nothing calls this directly

Calls 1

lean_prefixFunction · 0.85

Tested by

no test coverage detected