All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] tools/make_pip.sh: Use debian packages instead of pip
@ 2025-04-29 13:15 Simon Glass
  2025-04-29 13:15 ` [PATCH 2/2] tools: Update the license specifiers Simon Glass
  2025-04-29 13:43 ` [PATCH 1/2] tools/make_pip.sh: Use debian packages instead of pip Quentin Schulz
  0 siblings, 2 replies; 7+ messages in thread
From: Simon Glass @ 2025-04-29 13:15 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Simon Glass, Tom Rini

Recent distros complain about using 'pip install'. Adjust the script to
use 'apt get' instead where possible/required (e.g. with Ubuntu 24.04).

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 scripts/make_pip.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/make_pip.sh b/scripts/make_pip.sh
index d2639ffd6e4..90756279770 100755
--- a/scripts/make_pip.sh
+++ b/scripts/make_pip.sh
@@ -107,8 +107,10 @@ mkdir ${dir}/tests
 cd ${dir}
 
 # Make sure the tools are up to date
-python3 -m pip install --upgrade build
-python3 -m pip install --upgrade twine
+if ! sudo apt install python3-build twine; then
+	python3 -m pip install --upgrade build
+	python3 -m pip install --upgrade twine
+fi
 
 # Build the PyPi package
 python3 -m build
-- 
2.43.0

base-commit: 0312b271dd6dff8ca6d60c53ab028af526c45dde
branch: patb

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-29 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 13:15 [PATCH 1/2] tools/make_pip.sh: Use debian packages instead of pip Simon Glass
2025-04-29 13:15 ` [PATCH 2/2] tools: Update the license specifiers Simon Glass
2025-04-29 13:28   ` Quentin Schulz
2025-04-29 13:52     ` Tom Rini
2025-04-29 14:04       ` Quentin Schulz
2025-04-29 14:27         ` Tom Rini
2025-04-29 13:43 ` [PATCH 1/2] tools/make_pip.sh: Use debian packages instead of pip Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.