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.
This commit is contained in:
Brecht Van Lommel
2019-09-10 12:38:11 +02:00
parent bf6e05562c
commit df8341a486

View File

@@ -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()