py-xxx.mk: Clean more python tool caches
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m6s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m6s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m2s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m54s
CI / Packaging test (push) Successful in 0s

.mypy_cache, .ruff_cache and .pytest_cache are not consistently
cleaned in all subdirectories. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-07-09 07:47:25 +02:00
commit 36af4a590f
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
5 changed files with 14 additions and 10 deletions

View file

@ -73,7 +73,6 @@ endif
ifneq ($(PY_DEFS_MK_INCLUDED),true)
all:
clean: pyc.clean
echo-py:
@echo 'PYTHON = $(PYTHON)'
@ -86,8 +85,6 @@ echo-py:
@echo 'PY_INSTALL_MOD = $(PY_INSTALL_MOD)'
@echo 'PY_INSTALL_SUB_MOD = $(PY_INSTALL_SUB_MOD)'
pyc.clean:
$(RM) -rf $(wildcard *.pyc) __pycache__
libpath: py-libpath
py-libpath:
@echo 'export PYTHONPATH = $(PYTHONPATH)'