From 93cafe6b87b2de98276a3d590af14712e6f0acb6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 00:19:03 +0000 Subject: [PATCH] refactor: move python launcher files to src/python Agent-Logs-Url: https://github.com/eic/npsim/sessions/b9ea9b1a-e9d4-4178-9eea-9068f4305d30 Co-authored-by: wdconinc <4656391+wdconinc@users.noreply.github.com> --- CMakeLists.txt | 2 +- src/{dd4pod => python}/CMakeLists.txt | 4 ++-- src/{dd4pod => }/python/npsim.in | 0 src/{dd4pod => }/python/npsim.py | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{dd4pod => python}/CMakeLists.txt (89%) rename src/{dd4pod => }/python/npsim.in (100%) rename src/{dd4pod => }/python/npsim.py (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d0e6ea..b24363a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ find_package(fmt REQUIRED) #----------------------------------------- # add the library sub directories add_subdirectory(src/plugins) -add_subdirectory(src/dd4pod) +add_subdirectory(src/python) add_subdirectory(src/geocad) add_subdirectory(src/config) add_subdirectory(src/tools) diff --git a/src/dd4pod/CMakeLists.txt b/src/python/CMakeLists.txt similarity index 89% rename from src/dd4pod/CMakeLists.txt rename to src/python/CMakeLists.txt index 128a9c7..66ea247 100644 --- a/src/dd4pod/CMakeLists.txt +++ b/src/python/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12 FATAL_ERROR) configure_file( - python/npsim.in + npsim.in ${CMAKE_CURRENT_BINARY_DIR}/npsim ) install(FILES @@ -10,6 +10,6 @@ install(FILES DESTINATION bin ) install(PROGRAMS - python/npsim.py + npsim.py DESTINATION bin ) diff --git a/src/dd4pod/python/npsim.in b/src/python/npsim.in similarity index 100% rename from src/dd4pod/python/npsim.in rename to src/python/npsim.in diff --git a/src/dd4pod/python/npsim.py b/src/python/npsim.py similarity index 100% rename from src/dd4pod/python/npsim.py rename to src/python/npsim.py