From 36af62dcef61fc7fa4faf09f640fb6a1b88b10cd Mon Sep 17 00:00:00 2001 From: sukanka Date: Sun, 16 Nov 2025 21:45:56 +0800 Subject: [PATCH] only install wrapper skip install python-package, only install wrapper --- src/ifcwrap/CMakeLists.txt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/ifcwrap/CMakeLists.txt b/src/ifcwrap/CMakeLists.txt index 149810216ed..57cd0655646 100644 --- a/src/ifcwrap/CMakeLists.txt +++ b/src/ifcwrap/CMakeLists.txt @@ -180,18 +180,6 @@ IF(Python_Interpreter_FOUND OR PYTHON_MODULE_INSTALL_DIR) IF("${python_package_dir}" STREQUAL "") MESSAGE(WARNING "Unable to locate Python site-package directory, unable to install the Python wrapper") ELSE() - message(STATUS "Python wrapper will be installed to '${python_package_dir}'.") - FILE(GLOB_RECURSE sourcefiles - "${CMAKE_CURRENT_SOURCE_DIR}/../ifcopenshell-python/ifcopenshell/*" - ) - FOREACH(file ${sourcefiles}) - FILE(RELATIVE_PATH relative "${CMAKE_CURRENT_SOURCE_DIR}/../ifcopenshell-python/ifcopenshell/" "${file}") - GET_FILENAME_COMPONENT(dir "${relative}" DIRECTORY) - if(NOT IS_DIRECTORY "${file}") - INSTALL(FILES "${file}" - DESTINATION "${python_package_dir}/ifcopenshell/${dir}") - endif() - ENDFOREACH() INSTALL(FILES "${CMAKE_BINARY_DIR}/ifcwrap/ifcopenshell_wrapper.py" DESTINATION "${python_package_dir}/ifcopenshell") INSTALL(TARGETS ifcopenshell_wrapper