1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Roland Mas <lolando@debian.org>
Date: Sat, 29 Jul 2023 14:20:25 +0200
Subject: Fix install path for *.py files
---
cmake/multipython/PyDependences.cmake | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cmake/multipython/PyDependences.cmake b/cmake/multipython/PyDependences.cmake
index 3c46753..84663f5 100644
--- a/cmake/multipython/PyDependences.cmake
+++ b/cmake/multipython/PyDependences.cmake
@@ -10,6 +10,15 @@ else()
find_custom_python3(DEFAULT_PATH VERBOSE)
endif()
+set(pyversion ${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR})
+set(pydst "${destination_root}lib/python3")
+set(destination_python
+ "${pydst}/dist-packages/")
+set(destination_pypackage ${pydst}/wheel)
+
+message(STATUS "Python destination directory: ${destination_python}")
+message(STATUS "Python package destination directory: ${destination_pypackage}")
+
# check presence of some Python modules
message(STATUS "Searching required Python packages...")
set(py_packages "")
|