Skip to content

Commit 0e49059

Browse files
committed
fix(uv-path): use --link-mode copy on Windows always, not just for --target installs
1 parent 1b21312 commit 0e49059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/omnipkg/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15234,7 +15234,7 @@ def _run_pip_install(
1523415234
_t_wrapper_entry = time.perf_counter()
1523515235
# Build uv args once — reused by all three paths
1523615236
import platform as _plat
15237-
_link_mode = "symlink"
15237+
_link_mode = "copy" if _plat.system() == "Windows" else "symlink"
1523815238
_uv_args = ["pip", "install",
1523915239
"--cache-dir", self._uv_cache_dir,
1524015240
"--link-mode", _link_mode]

0 commit comments

Comments
 (0)