summaryrefslogtreecommitdiffstats
path: root/Tools/msi/make_zip.proj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-09-22 22:03:54 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-09-22 22:03:54 (GMT)
commit2495faf8fcbe07ff5a6f422d002a9e39d7eb9e0a (patch)
tree8080fb8d5b7776eaeef0224ed913fde42f4e9239 /Tools/msi/make_zip.proj
parent57ab1cdb152bdb223555ca2f46de06e3e26485dd (diff)
downloadcpython-2495faf8fcbe07ff5a6f422d002a9e39d7eb9e0a.zip
cpython-2495faf8fcbe07ff5a6f422d002a9e39d7eb9e0a.tar.gz
cpython-2495faf8fcbe07ff5a6f422d002a9e39d7eb9e0a.tar.bz2
Closes #25085 and #25086: Exclude distutils and test directories from embeddable distro.
Diffstat (limited to 'Tools/msi/make_zip.proj')
-rw-r--r--Tools/msi/make_zip.proj2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/msi/make_zip.proj b/Tools/msi/make_zip.proj
index 766fe85..d2e031f 100644
--- a/Tools/msi/make_zip.proj
+++ b/Tools/msi/make_zip.proj
@@ -14,6 +14,7 @@
<TargetName>python-$(PythonVersion)-embed-$(ArchName)</TargetName>
<TargetExt>.zip</TargetExt>
<TargetPath>$(OutputPath)\en-us\$(TargetName)$(TargetExt)</TargetPath>
+ <CleanCommand>rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"</CleanCommand>
<Arguments>"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"</Arguments>
<Arguments>$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -a $(ArchName)</Arguments>
<Environment>set DOC_FILENAME=python$(PythonVersion).chm
@@ -23,6 +24,7 @@ set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.
<Target Name="_Build">
<Exec Command="setlocal
$(Environment)
+$(CleanCommand)
$(Arguments)" />
</Target>