From df8341a4866e16f19d5fcf0760e51bc04e55ce09 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 10 Sep 2019 12:38:11 +0200 Subject: [PATCH] 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. --- source/creator/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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()