From 0bd20af2a21bb509c5f0e0583b53e1ed0a037808 Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Sun, 17 Dec 2023 01:27:08 +0100 Subject: [PATCH] more --- CMakeLists.txt | 6 +++++- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58a142f..8aac5e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,10 +53,14 @@ else() endif() if (DEFINED SKBUILD) + message(STATUS "PYTHON is ${Python_EXECUTABLE}") message(STATUS "CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX}") message(STATUS "CMAKE_SYSTEM_PREFIX_PATH is ${CMAKE_SYSTEM_PREFIX_PATH}") + execute_process(COMMAND ${Python_EXECUTABLE} -m pip show -f gemmi + COMMAND_ECHO STDOUT) + message(STATUS "-- end --") file(GLOB_RECURSE FOUND_FILES LIST_DIRECTORIES true - c:/*/gemmi-config.cmake) + c:/Users/runneradmin/AppData/Local/*/gemmi-config.cmake) message(STATUS "found gemmi configs: ${FOUND_FILES}") set(CMAKE_FIND_DEBUG_MODE TRUE) find_package(gemmi 0.6.4 CONFIG REQUIRED) diff --git a/pyproject.toml b/pyproject.toml index ab3e1a3..65af7dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,4 +39,4 @@ input = "servalcat/__init__.py" build-verbosity = 2 test-command = "python {project}/tests/test_for_ci.py" [tool.cibuildwheel.environment] -SKBUILD_CMAKE_ARGS = '-DBUILD_SHARED_LIBS=OFF;-DINSTALL_DEV_FILES=ON' +SKBUILD_CMAKE_ARGS = '-DBUILD_SHARED_LIBS=OFF;-DINSTALL_DEV_FILES=ON;-DBUILD_GEMMI_PROGRAM=OFF'