From 2d7b451a8b5020126f94e221579736c2b81aedc4 Mon Sep 17 00:00:00 2001 From: sdixon Date: Mon, 5 Aug 2024 13:19:09 +0100 Subject: [PATCH] updating cmake install to include pyproject.toml --- source/wrappers/python/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/wrappers/python/CMakeLists.txt b/source/wrappers/python/CMakeLists.txt index c8eab712..4ed554ca 100755 --- a/source/wrappers/python/CMakeLists.txt +++ b/source/wrappers/python/CMakeLists.txt @@ -1,13 +1,13 @@ file( GLOB CYTHON_FILES pyuda/cpyuda/*.pyx ) -install( FILES ${CYTHON_FILES} pyuda/cpyuda/uda.pxd DESTINATION python_installer/ukaea_pyuda_test/cpyuda ) +install( FILES ${CYTHON_FILES} pyuda/cpyuda/uda.pxd DESTINATION python_installer/pyuda/cpyuda ) file( GLOB INSTALL_FILES pyuda/*.py ) -install( FILES ${INSTALL_FILES} DESTINATION python_installer/ukaea_pyuda_test ) +install( FILES ${INSTALL_FILES} DESTINATION python_installer/pyuda ) configure_file( ${CMAKE_CURRENT_LIST_DIR}/pyuda/_version.py.in ${CMAKE_CURRENT_BINARY_DIR}/pyuda/_version.py @ONLY ) -install( FILES ${CMAKE_CURRENT_BINARY_DIR}/pyuda/_version.py DESTINATION python_installer/ukaea_pyuda_test ) +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/pyuda/_version.py DESTINATION python_installer/pyuda ) find_package( OpenSSL REQUIRED ) find_package( LibXml2 REQUIRED ) @@ -69,3 +69,5 @@ else() endif() install( FILES ${CMAKE_CURRENT_BINARY_DIR}/setup.py DESTINATION python_installer ) +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/pyproject.toml DESTINATION python_installer ) +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/README.md DESTINATION python_installer )