From 1978a959c5e333a501baf5380a55d26360f991ef Mon Sep 17 00:00:00 2001 From: Robin De Schepper Date: Tue, 5 Dec 2023 17:55:31 +0100 Subject: [PATCH] and install them --- python/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 859c2af4ef..cbad44e97f 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -88,8 +88,8 @@ add_subdirectory(test) set(python_mod_path "${CMAKE_CURRENT_BINARY_DIR}/arbor") set_target_properties(pyarb PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${python_mod_path}") file(COPY "${PROJECT_SOURCE_DIR}/python/__init__.py" DESTINATION "${python_mod_path}") -file(COPY "${PROJECT_SOURCE_DIR}/python/env.pyi" DESTINATION "${python_mod_path}") file(COPY "${PROJECT_SOURCE_DIR}/python/__init__.pyi" DESTINATION "${python_mod_path}") +file(COPY "${PROJECT_SOURCE_DIR}/python/env.pyi" DESTINATION "${python_mod_path}") file(COPY "${PROJECT_SOURCE_DIR}/python/py.typed" DESTINATION "${python_mod_path}") file(COPY "${PROJECT_SOURCE_DIR}/VERSION" DESTINATION "${python_mod_path}") @@ -121,4 +121,7 @@ endif() install(TARGETS pyarb DESTINATION ${_python_module_install_path}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py DESTINATION ${_python_module_install_path}) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.pyi DESTINATION ${_python_module_install_path}) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/env.pyi DESTINATION ${_python_module_install_path}) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/py.typed DESTINATION ${_python_module_install_path}) install(FILES ${PROJECT_SOURCE_DIR}/VERSION ${PROJECT_SOURCE_DIR}/README.md ${PROJECT_SOURCE_DIR}/LICENSE DESTINATION ${_python_module_install_path})