mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
gh-133626: Ensure the traditional Windows installer doesn't accidentally pick up site-packages (GH-133693)
(cherry picked from commit 6ce469dcba
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
79644893c5
commit
add970f08e
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" />
|
<EmbeddedResource Include="*.wxl" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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\**\*"
|
<InstallFiles Include="$(PySourcePath)Lib\**\*"
|
||||||
Exclude="$(PySourcePath)Lib\**\*.pyc;
|
Exclude="$(PySourcePath)Lib\**\*.pyc;
|
||||||
$(PySourcePath)Lib\**\*.pyo;
|
$(PySourcePath)Lib\**\*.pyo;
|
||||||
$(PySourcePath)Lib\turtle.py;
|
$(PySourcePath)Lib\turtle.py;
|
||||||
$(PySourcePath)Lib\site-packages\README;
|
|
||||||
@(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
|
@(ExcludeFolders->'$(PySourcePath)%(Identity)\*');
|
||||||
@(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
|
@(ExcludeFolders->'$(PySourcePath)%(Identity)\**\*')">
|
||||||
<SourceBase>$(PySourcePath)Lib</SourceBase>
|
<SourceBase>$(PySourcePath)Lib</SourceBase>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue