summaryrefslogtreecommitdiffstats
path: root/PCbuild/_freeze_importlib.vcxproj
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-09-18 19:22:29 (GMT)
committerGitHub <noreply@github.com>2018-09-18 19:22:29 (GMT)
commit79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b (patch)
tree024dfc74ad7bd5290180638b1290301ef928426f /PCbuild/_freeze_importlib.vcxproj
parent4ba3b50bfe6d50cd82d208023ea23e203ab50589 (diff)
downloadcpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.zip
cpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.tar.gz
cpython-79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b.tar.bz2
bpo-25711: Rewrite zipimport in pure Python. (GH-6809)
Diffstat (limited to 'PCbuild/_freeze_importlib.vcxproj')
-rw-r--r--PCbuild/_freeze_importlib.vcxproj10
1 files changed, 9 insertions, 1 deletions
diff --git a/PCbuild/_freeze_importlib.vcxproj b/PCbuild/_freeze_importlib.vcxproj
index c732663..34e7546 100644
--- a/PCbuild/_freeze_importlib.vcxproj
+++ b/PCbuild/_freeze_importlib.vcxproj
@@ -77,19 +77,26 @@
</ItemGroup>
<ItemGroup>
<None Include="..\Lib\importlib\_bootstrap.py">
+ <ModName>importlib._bootstrap</ModName>
<IntFile>$(IntDir)importlib.g.h</IntFile>
<OutFile>$(PySourcePath)Python\importlib.h</OutFile>
</None>
<None Include="..\Lib\importlib\_bootstrap_external.py">
+ <ModName>importlib._bootstrap_external</ModName>
<IntFile>$(IntDir)importlib_external.g.h</IntFile>
<OutFile>$(PySourcePath)Python\importlib_external.h</OutFile>
</None>
+ <None Include="..\Lib\zipimport.py">
+ <ModName>zipimport</ModName>
+ <IntFile>$(IntDir)importlib_zipimport.g.h</IntFile>
+ <OutFile>$(PySourcePath)Python\importlib_zipimport.h</OutFile>
+ </None>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<Target Name="_RebuildImportLib">
- <Exec Command='"$(TargetPath)" "%(None.FullPath)" "%(None.IntFile)"' />
+ <Exec Command='"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' />
<PropertyGroup>
<_OldContent Condition="Exists($(OutTargetPath))"></_OldContent>
@@ -114,6 +121,7 @@
<ItemGroup>
<Clean Include="$(IntDir)importlib.g.h" />
<Clean Include="$(IntDir)importlib_external.g.h" />
+ <Clean Include="$(IntDir)importlib_zipimport.g.h" />
</ItemGroup>
</Target>
</Project>