From 5cae311bf99d777ae7680d4c542c604dbd8371ec Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Mon, 8 Jan 2024 22:04:26 +0100 Subject: [PATCH] clean CMake install python files directives --- slycot/CMakeLists.txt | 9 --------- slycot/tests/CMakeLists.txt | 23 ----------------------- 2 files changed, 32 deletions(-) delete mode 100644 slycot/tests/CMakeLists.txt diff --git a/slycot/CMakeLists.txt b/slycot/CMakeLists.txt index eb49edd1..37b4d34d 100644 --- a/slycot/CMakeLists.txt +++ b/slycot/CMakeLists.txt @@ -630,12 +630,6 @@ set(F2PYSOURCE_DEPS src/transform.pyf src/synthesis.pyf src/_helper.pyf) -set(PYSOURCE - - __init__.py examples.py exceptions.py - analysis.py math.py synthesis.py transform.py -) - set(SLYCOT_MODULE "_wrapper") set(GENERATED_MODULE @@ -681,6 +675,3 @@ endif() python_extension_module(${SLYCOT_MODULE}) install(TARGETS ${SLYCOT_MODULE} LIBRARY DESTINATION slycot) -install(FILES ${PYSOURCE} DESTINATION slycot) - -add_subdirectory(tests) diff --git a/slycot/tests/CMakeLists.txt b/slycot/tests/CMakeLists.txt deleted file mode 100644 index 80d751da..00000000 --- a/slycot/tests/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -set(PYSOURCE - - __init__.py - test_ab01.py - test_ab04md.py - test_ab08n.py - test_ag08bd.py - test_examples.py - test_exceptions.py - test_mb.py - test_mc.py - test_sb.py - test_analysis.py - test_transform.py - test_sg02ad.py - test_sg03ad.py - test_tb05ad.py - test_td04ad.py - test_tg01ad.py - test_tg01fd.py ) - -install(FILES ${PYSOURCE} - DESTINATION slycot/tests)