[Bf-blender-cvs] [df8341a4866] master: Python: don't include distutils Windows installer executables for Linux/macOS
Brecht Van Lommel
noreply at git.blender.org
Tue Sep 10 12:45:41 CEST 2019
Commit: df8341a4866e16f19d5fcf0760e51bc04e55ce09
Author: Brecht Van Lommel
Date: Tue Sep 10 12:38:11 2019 +0200
Branches: master
https://developer.blender.org/rBdf8341a4866e16f19d5fcf0760e51bc04e55ce09
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.
===================================================================
M source/creator/CMakeLists.txt
===================================================================
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()
More information about the Bf-blender-cvs
mailing list