[kde-linux/kde-linux-packages] /: even more aggressive python cleanup
Harald Sitter <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 5b16ca9ad64eecaf63ec33a5bd0ba7d2cbe84095 by Harald Sitter.
Committed on 17/07/2026 at 23:11.
Pushed by sitter into branch 'master'.
even more aggressive python cleanup
M +1 -1 install-kde-deps.py
https://invent.kde.org/kde-linux/kde-linux-packages/-/commit/5b16ca9ad64eecaf63ec33a5bd0ba7d2cbe84095
diff --git a/install-kde-deps.py b/install-kde-deps.py
index 711a542..449e76c 100644
--- a/install-kde-deps.py
+++ b/install-kde-deps.py
@@ -118,7 +118,7 @@ def install_arch(packages):
packages = list(set(packages))
# supremely awesome hack to make the build succeed with part of python pips installed from pip and the other from pacman
# this either needs fixing properly or we need to move to buildstream!
- subprocess.run(["sh", "-c", "rm -rfv /usr/lib/python*/site-packages/{psutil,click}"], check=True)
+ subprocess.run(["sh", "-c", "rm -rfv /usr/lib/python*/site-packages/{psutil,click}*"], check=True)
cmd = ["pacman", "-S", "--noconfirm", "--needed", "--asdeps"] + packages
logger.info(f"Installing {len(packages)} packages via pacman: {', '.join(sorted(packages))}")
result = subprocess.run(cmd)