Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-10 13:38:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-10 13:44:52 +0300
commitdf8341a4866e16f19d5fcf0760e51bc04e55ce09 (patch)
tree84ba5c264d3190c2d48019ef03dbdfb113ce6755 /source/creator/CMakeLists.txt
parentbf6e05562cce792e3e5bc28c8b75a039eed9219a (diff)
Python: don't include distutils Windows installer executables for Linux/macOS
They were detected as (false positive) malware with ClamAV. It's unlikely someone would need these files, and e.g. the Debian Python package also excludes them with a custom patch.
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 1cd0a6661f8..e1326d62ae0 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -584,6 +584,7 @@ if(UNIX AND NOT APPLE)
PATTERN "test" EXCLUDE # ./test
PATTERN "turtledemo" EXCLUDE # ./turtledemo
PATTERN "turtle.py" EXCLUDE # ./turtle.py
+ PATTERN "wininst*.exe" EXCLUDE # from distutils, avoid malware false positive
)
# Needed for distutils/pip
@@ -862,6 +863,7 @@ elseif(APPLE)
PATTERN "test" EXCLUDE # ./test
PATTERN "turtledemo" EXCLUDE # ./turtledemo
PATTERN "turtle.py" EXCLUDE # ./turtle.py
+ PATTERN "wininst*.exe" EXCLUDE # from distutils, avoid malware false positive
)
endmacro()