requirements and made component

This commit is contained in:
froejdh_e 2025-04-11 14:58:19 +02:00
parent 54526f51d7
commit 15b17e805d
2 changed files with 21 additions and 4 deletions

View File

@ -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"

View File

@ -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()