From: Duncan Bellamy Date: Sat, 15 May 2021 10:05:48 +0000 (+0100) Subject: pybind/mgr/CMakeLists.txt: exclude files not used at runtime X-Git-Tag: v16.2.7~51^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43787%2Fhead;p=ceph.git 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 (cherry picked from commit 8797807f5355eb40f2a5d72eadb485bef94e8c23) --- diff --git a/src/pybind/mgr/CMakeLists.txt b/src/pybind/mgr/CMakeLists.txt index 833faf1aa0846..4756f69aa724b 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)