summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-09-16 14:20:52 -0600
committerGitHub <noreply@github.com>2021-09-16 14:20:52 -0600
commitfdc6b3d9316501d2f0068a1bf4334debc1949e62 (patch)
tree3dc3ff7d35f0ad4b8d4b2464c28b192a014dcceb /PCbuild
parenta59ede244714455aa9ee8637608e019a20fa2ca6 (diff)
downloadcpython-git-fdc6b3d9316501d2f0068a1bf4334debc1949e62.tar.gz
bpo-45020: Drop the frozen .h files from the repo. (gh-28392)
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. (This is essentially an un-revert of gh-28375.) 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>