Add --link-mode=copy and remove -v

This commit is contained in:
pyranota
2024-10-23 12:04:27 +00:00
parent 54698b3eef
commit b1a4f2ab50
2 changed files with 3 additions and 1 deletions
@@ -20,12 +20,13 @@ then
fi
CMD="/usr/local/bin/uv pip install
-v \"$REQ\"
\"$REQ\"
--target \"$TARGET\"
--no-cache
--no-config
--no-color
--no-deps
--link-mode=copy
-p 3.11
$INDEX_URL_ARG $EXTRA_INDEX_URL_ARG $TRUSTED_HOST_ARG
--index-strategy unsafe-best-match
@@ -1246,6 +1246,7 @@ pub async fn handle_python_reqs(
"3.11",
// Prevent uv from discovering configuration files.
"--no-config",
"--link-mode=copy",
// TODO: Doublecheck it
"--system",
// Prefer main index over extra