MCPcopy Create free account
hub / github.com/SZAILAB/MaterialDFT-Demo / _build_cpp_core_enabled

Function _build_cpp_core_enabled

setup.py:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def _build_cpp_core_enabled() -> bool:
60 raw = os.environ.get("MaterialDFT_BUILD_CPP_CORE", "1").strip().lower()
61 return raw not in {"0", "false", "no", "off"}
62
63
64_ENABLE_CPP_CORE = _build_cpp_core_enabled()

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected