MCPcopy
hub / github.com/volcengine/OpenViking / _should_require_ragfs_artifact

Method _should_require_ragfs_artifact

setup.py:388–393  ·  view source on GitHub ↗

Fail wheel builds closed when ragfs-python cannot be bundled.

(self)

Source from the content-addressed store, hash-verified

386 print(error_detail)
387
388 def _should_require_ragfs_artifact(self) -> bool:
389 """Fail wheel builds closed when ragfs-python cannot be bundled."""
390 required = os.environ.get("OV_REQUIRE_RAGFS_BUILD")
391 if required is not None:
392 return required == "1"
393 return "bdist_wheel" in sys.argv
394
395 def build_extension(self, ext):
396 """Build a single Python native extension artifact using CMake."""

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected