tools: Stop packaging patman as a pip module

patman is no longer shipped from the U-Boot tree, so drop it from the
'make pip' target and from make_pip.sh, and remove its packaging files
(setup.py, pyproject.toml, requirements.txt). Nothing else refers to
them by this point in the series, so they can go.

Also fix binman's pyproject.toml, which declares package-data for a
'patman' package (a copy-paste leftover); use 'binman' instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2026-07-06 08:28:50 -06:00
committed by Tom Rini
parent 5c2d490539
commit c2f2085b15
6 changed files with 6 additions and 53 deletions
+5 -5
View File
@@ -5,7 +5,7 @@
#
# Usage: make_pip.sh <tool_name> [--real]
#
# Where tool_name is one of patman, buildman, dtoc, binman, u_boot_pylib
# Where tool_name is one of buildman, dtoc, binman, u_boot_pylib
#
# and --real means to upload to the real server (otherwise the test one is used)
#
@@ -36,10 +36,10 @@ tool="$1"
shift
flags="$*"
if [[ "${tool}" =~ ^(patman|buildman|dtoc|binman|u_boot_pylib)$ ]]; then
if [[ "${tool}" =~ ^(buildman|dtoc|binman|u_boot_pylib)$ ]]; then
echo "Building dist package for tool ${tool}"
else
echo "Unknown tool ${tool}: use u_boot_pylib, patman, buildman, dtoc or binman"
echo "Unknown tool ${tool}: use u_boot_pylib, buildman, dtoc or binman"
exit 1
fi
@@ -61,8 +61,8 @@ if [ -n "${upload}" ]; then
fi
fi
if [[ "${tool}" =~ ^(patman|u_boot_pylib)$ ]]; then
# Leave test_util.py and patman test files alone
if [[ "${tool}" =~ ^(u_boot_pylib)$ ]]; then
# Leave test_util.py and the u_boot_pylib test files alone
delete_testfiles=
fi