From f413bdbf4ff5d0a4507724bf0cb2394b861e795c Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Mon, 6 Nov 2023 15:08:51 +0100 Subject: [PATCH] Don't install test files --- python/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index d0e0e6e5c..2613f7d6a 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -25,7 +25,8 @@ endif() install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/podio_gen DESTINATION ${podio_PYTHON_INSTALLDIR} - REGEX __pycache__ EXCLUDE + REGEX test_.*\\.py$ EXCLUDE # Do not install test files + PATTERN __pycache__ EXCLUDE # Or pythons caches ) #--- install templates ---------------------------------------------------------