From 3e26de3c1f24bf0810eaaf7d75a4332775870e78 Mon Sep 17 00:00:00 2001 From: Charlie Zhao Date: Thu, 8 Sep 2022 04:26:53 +0800 Subject: gh-94781: Fix Windows projects not cleaning intermediate and output files for frozen modules (GH-96423) --- .../Windows/2022-08-30-12-01-51.gh-issue-94781.OxO-Gr.rst | 2 ++ PCbuild/_freeze_module.vcxproj | 4 ++++ PCbuild/pcbuild.proj | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 Misc/NEWS.d/next/Windows/2022-08-30-12-01-51.gh-issue-94781.OxO-Gr.rst diff --git a/Misc/NEWS.d/next/Windows/2022-08-30-12-01-51.gh-issue-94781.OxO-Gr.rst b/Misc/NEWS.d/next/Windows/2022-08-30-12-01-51.gh-issue-94781.OxO-Gr.rst new file mode 100644 index 0000000..d343173 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-08-30-12-01-51.gh-issue-94781.OxO-Gr.rst @@ -0,0 +1,2 @@ +Fix :file:`pcbuild.proj` to clean previous instances of ouput files in ``Python\deepfreeze`` and +``Python\frozen_modules`` directories on Windows. Patch by Charlie Zhao. diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index 0e446fe..39939a7 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -425,6 +425,10 @@ + + + + diff --git a/PCbuild/pcbuild.proj b/PCbuild/pcbuild.proj index 8d143a4..d9e4d98 100644 --- a/PCbuild/pcbuild.proj +++ b/PCbuild/pcbuild.proj @@ -125,6 +125,12 @@ StopOnFirstFailure="false" Condition="%(CleanTarget) != ''" Targets="%(CleanTarget)" /> + @@ -140,6 +146,12 @@ StopOnFirstFailure="false" Condition="%(CleanAllTarget) != ''" Targets="%(CleanAllTarget)" /> + -- cgit v0.12