diff options
author | Kumar Aditya <rahuladitya303@gmail.com> | 2021-12-09 16:51:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 16:51:09 (GMT) |
commit | 44b0e76f2a80c9a78242b7542b8b1218d244af07 (patch) | |
tree | 5a1cde546959ae56e02b26d791310d2b2cc80aa5 /PCbuild | |
parent | dc4a212bd305831cb4b187a2e0cc82666fcb15ca (diff) | |
download | cpython-44b0e76f2a80c9a78242b7542b8b1218d244af07.zip cpython-44b0e76f2a80c9a78242b7542b8b1218d244af07.tar.gz cpython-44b0e76f2a80c9a78242b7542b8b1218d244af07.tar.bz2 |
bpo-45654: Freeze the runpy module and stuff it imports (GH-29903)
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_freeze_module.vcxproj | 28 | ||||
-rw-r--r-- | PCbuild/_freeze_module.vcxproj.filters | 12 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 4 |
3 files changed, 44 insertions, 0 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index 07a6bfd..2c06a89 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -330,6 +330,34 @@ <DeepIntFile>$(IntDir)stat.g.c</DeepIntFile> <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.stat.c</DeepOutFile> </None> + <None Include="..\Lib\types.py"> + <ModName>types</ModName> + <IntFile>$(IntDir)types.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\types.h</OutFile> + <DeepIntFile>$(IntDir)types.g.c</DeepIntFile> + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.types.c</DeepOutFile> + </None> + <None Include="..\Lib\importlib\util.py"> + <ModName>importlib.util</ModName> + <IntFile>$(IntDir)importlib.util.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\importlib.util.h</OutFile> + <DeepIntFile>$(IntDir)importlib.util.g.c</DeepIntFile> + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.importlib.util.c</DeepOutFile> + </None> + <None Include="..\Lib\importlib\machinery.py"> + <ModName>importlib.machinery</ModName> + <IntFile>$(IntDir)importlib.machinery.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\importlib.machinery.h</OutFile> + <DeepIntFile>$(IntDir)importlib.machinery.g.c</DeepIntFile> + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.importlib.machinery.c</DeepOutFile> + </None> + <None Include="..\Lib\runpy.py"> + <ModName>runpy</ModName> + <IntFile>$(IntDir)runpy.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\runpy.h</OutFile> + <DeepIntFile>$(IntDir)runpy.g.c</DeepIntFile> + <DeepOutFile>$(PySourcePath)Python\deepfreeze\df.runpy.c</DeepOutFile> + </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 1c8f1b0..7690e5e 100644 --- a/PCbuild/_freeze_module.vcxproj.filters +++ b/PCbuild/_freeze_module.vcxproj.filters @@ -447,6 +447,18 @@ <None Include="..\Lib\stat.py"> <Filter>Python Files</Filter> </None> + <None Include="..\Lib\types.py"> + <Filter>Python Files</Filter> + </None> + <None Include="..\Lib\importlib\util.py"> + <Filter>Python Files</Filter> + </None> + <None Include="..\Lib\importlib\machinery.py"> + <Filter>Python Files</Filter> + </None> + <None Include="..\Lib\runpy.py"> + <Filter>Python Files</Filter> + </None> <None Include="..\Lib\__hello__.py"> <Filter>Python Files</Filter> </None> diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 119650a..a2ee95e 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -532,6 +532,10 @@ <ClCompile Include="..\Python\deepfreeze\df.os.c" /> <ClCompile Include="..\Python\deepfreeze\df.site.c" /> <ClCompile Include="..\Python\deepfreeze\df.stat.c" /> + <ClCompile Include="..\Python\deepfreeze\df.types.c" /> + <ClCompile Include="..\Python\deepfreeze\df.importlib.util.c" /> + <ClCompile Include="..\Python\deepfreeze\df.importlib.machinery.c" /> + <ClCompile Include="..\Python\deepfreeze\df.runpy.c" /> <ClCompile Include="..\Python\deepfreeze\df.__hello__.c" /> <ClCompile Include="..\Python\deepfreeze\df.__phello__.c" /> <ClCompile Include="..\Python\deepfreeze\df.__phello__.ham.c" /> |