]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 May 2025 20:17:11 +0000 (22:17 +0200)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 20:17:11 +0000 (20:17 +0000)
(cherry picked from commit 6ce469dcba482772bc94c4048e90fa9598897c4a)

Co-authored-by: Steve Dower <steve.dower@python.org>
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 02078e503d74a4dfd0078ceb446c8a1625f8b79d..3ea46dd40ea4ce9fa1d7a41c7ba40cfaf2a2e9a0 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\turtle.py;
-                               $(PySourcePath)Lib\site-packages\README;
                                @(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
                                @(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
             <SourceBase>$(PySourcePath)Lib</SourceBase>