summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-09-15 19:15:26 -0600
committerGitHub <noreply@github.com>2021-09-15 19:15:26 -0600
commita9757bf34d8b4cb3c24bbb70d50a06c815e2e8f3 (patch)
tree990fa427612a87c7951c67133575d50627f42107 /PCbuild
parenta75a2577259a55d816de24a4cca16aad74e02aa5 (diff)
downloadcpython-git-a9757bf34d8b4cb3c24bbb70d50a06c815e2e8f3.tar.gz
bpo-45020: Drop the frozen .h files from the repo. (gh-28375)
The main advantage is that the files will no longer show up in diffs and PRs. That means, for a PR, the number of files / lines changed will more clearly reflect the actual change. https://bugs.python.org/issue45020
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/_freeze_module.vcxproj40
-rw-r--r--PCbuild/_freeze_module.vcxproj.filters24
2 files changed, 64 insertions, 0 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index e306884029..ef0069c83f 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -245,6 +245,46 @@
<IntFile>$(IntDir)zipimport.g.h</IntFile>
<OutFile>$(PySourcePath)Python\frozen_modules\zipimport.h</OutFile>
</None>
+ <None Include="..\Lib\abc.py">
+ <ModName>abc</ModName>
+ <IntFile>$(IntDir)abc.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\abc.h</OutFile>
+ </None>
+ <None Include="..\Lib\io.py">
+ <ModName>io</ModName>
+ <IntFile>$(IntDir)io.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\io.h</OutFile>
+ </None>
+ <None Include="..\Lib\_collections_abc.py">
+ <ModName>_collections_abc</ModName>
+ <IntFile>$(IntDir)_collections_abc.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\_collections_abc.h</OutFile>
+ </None>
+ <None Include="..\Lib\_sitebuiltins.py">
+ <ModName>_sitebuiltins</ModName>
+ <IntFile>$(IntDir)_sitebuiltins.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\_sitebuiltins.h</OutFile>
+ </None>
+ <None Include="..\Lib\genericpath.py">
+ <ModName>genericpath</ModName>
+ <IntFile>$(IntDir)genericpath.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\genericpath.h</OutFile>
+ </None>
+ <None Include="..\Lib\ntpath.py">
+ <ModName>ntpath</ModName>
+ <IntFile>$(IntDir)ntpath.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\ntpath.h</OutFile>
+ </None>
+ <None Include="..\Lib\posixpath.py">
+ <ModName>posixpath</ModName>
+ <IntFile>$(IntDir)posixpath.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\posixpath.h</OutFile>
+ </None>
+ <None Include="..\Lib\stat.py">
+ <ModName>stat</ModName>
+ <IntFile>$(IntDir)stat.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\frozen_modules\stat.h</OutFile>
+ </None>
<None Include="..\Lib\__hello__.py">
<ModName>__hello__</ModName>
<IntFile>$(IntDir)__hello__.g.h</IntFile>
diff --git a/PCbuild/_freeze_module.vcxproj.filters b/PCbuild/_freeze_module.vcxproj.filters
index 6e7c1bba26..71fb41cb42 100644
--- a/PCbuild/_freeze_module.vcxproj.filters
+++ b/PCbuild/_freeze_module.vcxproj.filters
@@ -25,6 +25,30 @@
<None Include="..\Lib\zipimport.py">
<Filter>Python Files</Filter>
</None>
+ <None Include="..\Lib\abc.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\io.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\_collections_abc.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\_sitebuiltins.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\genericpath.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\ntpath.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\posixpath.py">
+ <Filter>Python Files</Filter>
+ </None>
+ <None Include="..\Lib\stat.py">
+ <Filter>Python Files</Filter>
+ </None>
<None Include="..\Lib\__hello__.py">
<Filter>Python Files</Filter>
</None>