Use uv for pip installs (#13586)

* Update tests to `pip install -e .`

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Auto-format by https://ultralytics.com/actions

* Update pyproject.toml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Use `setup-uv` and `uv pip` for package management.

Replaced `setup-python` with `setup-uv` and updated pip commands to use the `uv` tool for dependency installation and listing. Simplifies package management and integrates

* Use `setup-uv` and `uv pip` for package management.

Replaced `setup-python` with `setup-uv` and updated pip commands to use the `uv` tool for dependency installation and listing. Simplifies package management and integrates-uv` for improved workflow consistency.

* Use `setup-uv` and `uv pip` for package management.

Replaced `setup-python` with `setup-uv` and updated pip commands to use the `uv` tool for dependency installation and listing. Simplifies package management and integrates-uv` for improved workflow consistency.

* Use `setup-uv` and `uv pip` for package management.

Replaced `setup-python` with `setup-uv` and updated pip commands to use the `uv` tool for dependency installation and listing. Simplifies package management and integrates-uv` for improved workflow consistency.

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn JocherandUltralyticsAssistant authored and GitHub committed 2025-05-10 14:32:18 +02:00
1 parent fe1d4d9947
commit 2ef886370c
10 files changed
+29 -28

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
# ├── yolov5m.pt
# └── ...
python - <<EOF
python - << EOF
from utils.downloads import attempt_download
p5 = list('nsmlx') # P5 models
+4 -4
View File
@@ -12,10 +12,10 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--test) test=true ;;
--segments) segments=true ;;
--train) train=true ;;
--val) val=true ;;
--test) test=true ;;
--segments) segments=true ;;
esac
done
else
+2 -2
View File
@@ -12,8 +12,8 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--train) train=true ;;
--val) val=true ;;
esac
done
else
+2 -2
View File
@@ -12,8 +12,8 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--train) train=true ;;
--val) val=true ;;
esac
done
else
+2 -2
View File
@@ -12,8 +12,8 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--train) train=true ;;
--val) val=true ;;
esac
done
else
+2 -2
View File
@@ -12,8 +12,8 @@
if [ "$#" -gt 0 ]; then
for opt in "$@"; do
case "${opt}" in
--train) train=true ;;
--val) val=true ;;
--train) train=true ;;
--val) val=true ;;
esac
done
else