mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up site-packages (GH-133693)
This commit is contained in:
parent
9546eeea90
commit
6ce469dcba
2 changed files with 3 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
Ensures packages are not accidentally bundled into the traditional
|
||||
installer.
|
|
@ -15,12 +15,11 @@
|
|||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue