8000 gh-133626: Ensure the traditional Windows installer doesn't accidenta… · python/cpython@6ce469d · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ce469d

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
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;
2222
$(PySourcePath)Lib\turtle.py;
23-
$(PySourcePath)Lib\site-packages\README;
2423
@(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
2524
@(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
2625
<SourceBase>$(PySourcePath)Lib</SourceBase>

0 commit comments

Comments
 (0)
0