Skip to content

Commit fa61636

Browse files
Merge pull request #56 from drunkenbot-ai/ncj-dneg-fix-windows-runtime-builder
Fix Windows runtime interpreter copies
2 parents de328ee + 8cba809 commit fa61636

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packaging/runtime_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def main() -> int:
1919
parser.add_argument("--gpu", action="store_true", help="Install the CUDA runtime selected by runtime_setup.py.")
2020
args = parser.parse_args()
2121
runtime = args.output.resolve()
22-
# Force a real interpreter copy. Some CI Python installations expose a
23-
# launcher that points at the runner's temporary hostedtoolcache path.
22+
# Keep macOS/Linux defaults, but force a real Windows interpreter copy:
23+
# hosted runners may otherwise create a launcher tied to hostedtoolcache.
2424
venv_command = [sys.executable, "-m", "venv"]
2525
if sys.platform == "win32":
2626
venv_command.append("--copies")

0 commit comments

Comments
 (0)