]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/CMakeLists.txt: exclude files not used at runtime 43787/head
authorDuncan Bellamy <dunk@denkimushi.com>
Sat, 15 May 2021 10:05:48 +0000 (11:05 +0100)
committerKefu Chai <tchaikov@gmail.com>
Wed, 3 Nov 2021 07:19:23 +0000 (15:19 +0800)
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 <dunk@denkimushi.com>
(cherry picked from commit 8797807f5355eb40f2a5d72eadb485bef94e8c23)

src/pybind/mgr/CMakeLists.txt

index 833faf1aa0846982f6ce92b068b5759b1d1ca6e7..4756f69aa724b086e77e1c7b162d4488b44637e8 100644 (file)
@@ -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)