]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up...
authorSteve Dower <steve.dower@python.org>
Thu, 8 May 2025 20:16:15 +0000 (21:16 +0100)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 20:16:15 +0000 (20:16 +0000)
Misc/NEWS.d/next/Windows/2025-05-08-19-07-26.gh-issue-133626.yFTKYK.rst [new file with mode: 0644]
Tools/msi/lib/lib.wixproj

diff --git a/Misc/NEWS.d/next/Windows/2025-05-08-19-07-26.gh-issue-133626.yFTKYK.rst b/Misc/NEWS.d/next/Windows/2025-05-08-19-07-26.gh-issue-133626.yFTKYK.rst
new file mode 100644 (file)
index 0000000..6c80d96
--- /dev/null
@@ -0,0 +1,2 @@
+Ensures packages are not accidentally bundled into the traditional
+installer.
index 26311ea32724d10f3234bd4d395ff6e948292a13..5d8582a3d6fabbb4a3e52eeecf53994e92304abb 100644 (file)
         <EmbeddedResource Include="*.wxl" />
     </ItemGroup>
     <ItemGroup>
-        <ExcludeFolders Include="Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
+        <ExcludeFolders Include="Lib\site-packages;Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
         <InstallFiles Include="$(PySourcePath)Lib\**\*"
                       Exclude="$(PySourcePath)Lib\**\*.pyc;
                                $(PySourcePath)Lib\**\*.pyo;
-                               $(PySourcePath)Lib\site-packages\README;
                                @(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
                                @(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
             <SourceBase>$(PySourcePath)Lib</SourceBase>