Extensions: exclude development files from installation

This commit is contained in:
Campbell Barton
2025-01-23 15:41:47 +11:00
parent 89d51c7535
commit 3f31edd4c0

View File

@@ -465,6 +465,11 @@ if(WITH_PYTHON)
PATTERN "__pycache__" EXCLUDE
PATTERN "site" EXCLUDE
PATTERN "${FREESTYLE_EXCLUDE_CONDITIONAL}" EXCLUDE
# Exclude extensions development files.
PATTERN "addons_core/bl_pkg/Makefile" EXCLUDE
PATTERN "addons_core/bl_pkg/tests" EXCLUDE
PATTERN "addons_core/bl_pkg/example_extension" EXCLUDE
)
if(WITH_PYTHON_MODULE)