python: Makefile: use python -m installer; do not install while building

When building a Python wheel using `python -m build --wheel ...`,
temporary build files (including extension .so) are placed in ./build/...
from where they can be retrieved without having to install the just-built
wheel. Do both and get rid of `pip` invocations.
This commit is contained in:
Ivan Shapovalov
2026-05-18 08:13:47 +03:00
parent 04aa4c166c
commit d0672e15b9
2 changed files with 3 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ apps:
python:
$(MAKE) -C python
$(ECHO) ln -sf python/root/usr/lib/python*/site-packages/*.so .
$(ECHO) ln -sf python/build/lib.linux-*/*.so -t .
janus: