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:
parent
bf6e05562c
commit
df8341a486
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue