diff --git a/pyproject.toml b/pyproject.toml index 502a4d0..4a477a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,24 @@ build-backend = "scikit_build_core.build" [project] name = "aare" -version = "2025.4.1" +version = "2025.4.2" +requires-python = ">=3.11" +dependencies = [ + "numpy", + "matplotlib", +] +[tool.cibuildwheel] + +build = "cp{311,312,313}-manylinux_x86_64" + [tool.scikit-build] -cmake.verbose = true +build.verbose = true +cmake.build-type = "Release" +install.components = ["python"] [tool.scikit-build.cmake.define] AARE_PYTHON_BINDINGS = "ON" diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 376ded5..549205a 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -59,10 +59,16 @@ endforeach(FILE ${PYTHON_EXAMPLES}) if(AARE_INSTALL_PYTHONEXT) - install(TARGETS _aare + install( + TARGETS _aare EXPORT "${TARGETS_EXPORT_NAME}" LIBRARY DESTINATION aare + COMPONENT python ) - install(FILES ${PYTHON_FILES} DESTINATION aare) + install( + FILES ${PYTHON_FILES} + DESTINATION aare + COMPONENT python + ) endif() \ No newline at end of file