mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-10 12:47:44 +08:00
fix(python): preserve SDK runtime aliases during resource sync
This commit is contained in:
@@ -232,6 +232,7 @@ def stage_runtime(destination: Path, version: str, executable: Path, executable_
|
||||
office = office_sidecar_name(executable_name)
|
||||
shutil.copytree(source_directory / office, runtime_dir / office)
|
||||
resources = executable_name.removeprefix("deepseek-harness-sdk-runtime-").removesuffix(".exe")
|
||||
# Wheels materialize interpreter aliases because pip does not restore symlinks.
|
||||
shutil.copytree(source_directory / resources, runtime_dir / resources)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user