Skip to content

Commit df85816

Browse files
authored
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up site-packages (GH-133693)
1 parent c2cddb7 commit df85816

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Ensures packages are not accidentally bundled into the traditional
2+
installer.

Tools/msi/lib/lib.wixproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
<EmbeddedResource Include="*.wxl" />
1616
</ItemGroup>
1717
<ItemGroup>
18-
<ExcludeFolders Include="Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
18+
<ExcludeFolders Include="Lib\site-packages;Lib\test;Lib\tests;Lib\tkinter;Lib\idlelib;Lib\turtledemo" />
1919
<InstallFiles Include="$(PySourcePath)Lib\**\*"
2020
Exclude="$(PySourcePath)Lib\**\*.pyc;
2121
$(PySourcePath)Lib\**\*.pyo;
22-
$(PySourcePath)Lib\site-packages\README;
2322
@(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
2423
@(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
2524
<SourceBase>$(PySourcePath)Lib</SourceBase>

0 commit comments

Comments
 (0)