From 59c2aa25ffc864bf11bf3b3973828f00e268a992 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 27 Dec 2018 12:44:25 -0800 Subject: [PATCH] bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple times. (GH-11329) https://bugs.python.org/issue35596 --- .../next/Windows/2018-12-28-07-25-47.bpo-35596.P9CEY2.rst | 1 + PC/layout/main.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Windows/2018-12-28-07-25-47.bpo-35596.P9CEY2.rst diff --git a/Misc/NEWS.d/next/Windows/2018-12-28-07-25-47.bpo-35596.P9CEY2.rst b/Misc/NEWS.d/next/Windows/2018-12-28-07-25-47.bpo-35596.P9CEY2.rst new file mode 100644 index 00000000000..3ce90f6065c --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2018-12-28-07-25-47.bpo-35596.P9CEY2.rst @@ -0,0 +1 @@ +Fix vcruntime140.dll being added to embeddable distro multiple times. diff --git a/PC/layout/main.py b/PC/layout/main.py index 217b2b096e0..7eaf201d532 100644 --- a/PC/layout/main.py +++ b/PC/layout/main.py @@ -46,7 +46,7 @@ TCLTK_FILES_ONLY = FileNameSet("turtle.py") VENV_DIRS_ONLY = FileNameSet("venv", "ensurepip") -EXCLUDE_FROM_PYDS = FileStemSet("python*", "pyshellext") +EXCLUDE_FROM_PYDS = FileStemSet("python*", "pyshellext", "vcruntime*") EXCLUDE_FROM_LIB = FileNameSet("*.pyc", "__pycache__", "*.pickle") EXCLUDE_FROM_PACKAGED_LIB = FileNameSet("readme.txt") EXCLUDE_FROM_COMPILE = FileNameSet("badsyntax_*", "bad_*")