feat(python): support macOS x64 runtime wheels

This commit is contained in:
fz
2026-09-03 11:16:34 +08:00
parent 427d210b5e
commit 7dcdcc2965
23 changed files with 181 additions and 63 deletions
@@ -120,12 +120,11 @@ def _current_platform_tag() -> str:
plat is None
or arch is None
or (plat == "win" and arch != "x64")
or (plat == "macos" and arch != "arm64")
):
raise FileNotFoundError(
"no bundled DeepSeek Harness SDK runtime exists for this platform "
f"(sys.platform={sys.platform!r}, machine={platform.machine()!r}); supported: "
"Linux x64/arm64, macOS arm64, and Windows x64. " + _EXE_ACQUISITION_HINT
"Linux x64/arm64, macOS x64/arm64, and Windows x64. " + _EXE_ACQUISITION_HINT
)
return f"{plat}-{arch}"