From 8797807f5355eb40f2a5d72eadb485bef94e8c23 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Sat, 15 May 2021 11:05:48 +0100 Subject: [PATCH] pybind/mgr/CMakeLists.txt: exclude files not used at runtime Exclude node_modules so it is not installed with make install Exclude cypress files and dashboard .(dot) files also Fixes: https://tracker.ceph.com/issues/50827 Signed-off-by: Duncan Bellamy --- src/pybind/mgr/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/CMakeLists.txt b/src/pybind/mgr/CMakeLists.txt index 032857c09c0..b68daf92589 100644 --- a/src/pybind/mgr/CMakeLists.txt +++ b/src/pybind/mgr/CMakeLists.txt @@ -22,4 +22,12 @@ install(DIRECTORY REGEX "rook/rook-client-python.*" EXCLUDE REGEX "osd_perf_query/.*" EXCLUDE REGEX "tox.ini" EXCLUDE - REGEX "requirements.txt" EXCLUDE) + REGEX "requirements.*\.txt" EXCLUDE + REGEX "constraints.*\.txt" EXCLUDE + REGEX "node_modules" EXCLUDE + REGEX "cypress.*" EXCLUDE + REGEX "\.coveragerc" EXCLUDE + REGEX "\.editorconfig" EXCLUDE + REGEX "\..*lintrc" EXCLUDE + REGEX "\.browserslistrc" EXCLUDE + REGEX "\.prettier*" EXCLUDE) -- 2.39.5