From: Jose Luis Blanco-Claraco <joseluisblancoc@gmail.com>
Date: Sun, 9 Nov 2025 22:46:13 +0100
Subject: Fix: python install failed with pip due to lack of network access

---
 parse-files/install-python.cmake.in | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/parse-files/install-python.cmake.in b/parse-files/install-python.cmake.in
index 9f44d51..ad7d278 100644
--- a/parse-files/install-python.cmake.in
+++ b/parse-files/install-python.cmake.in
@@ -8,9 +8,7 @@ else()
 endif()
 
 set(cmd_
-    @Python3_EXECUTABLE@ -m pip install .
-        --target=${INSTALL_ROOT_DIR}/@PYTHON_INSTALL_DIR@
-        --ignore-installed
+    @Python3_EXECUTABLE@ setup.py install --root=$ENV{DESTDIR} --prefix=/usr/  --install-layout=deb
 )
 
 string(REPLACE ";" " " _cmd_print "${cmd_}")
