summaryrefslogtreecommitdiffstats
path: root/PCbuild/python.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2021-12-08 02:18:21 (GMT)
committerGitHub <noreply@github.com>2021-12-08 02:18:21 (GMT)
commitb0b30862796e97b3f0ee358bcc61d21f0cc98441 (patch)
treeb469f6d3faa7f9e69cdb4114f7ddabf2157c319f /PCbuild/python.vcxproj
parent32a67246b0d1e08cd50fc3bfa58052cfeb515b2e (diff)
downloadcpython-b0b30862796e97b3f0ee358bcc61d21f0cc98441.zip
cpython-b0b30862796e97b3f0ee358bcc61d21f0cc98441.tar.gz
cpython-b0b30862796e97b3f0ee358bcc61d21f0cc98441.tar.bz2
bpo-45582: Write empty pybuilddir.txt on Windows to allow relocatable build directories (GH-29979)
Diffstat (limited to 'PCbuild/python.vcxproj')
-rw-r--r--PCbuild/python.vcxproj6
1 files changed, 1 insertions, 5 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index 0b4329d..f445137 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -148,10 +148,6 @@ $(_PGOPath)
<WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" />
</Target>
<Target Name="GeneratePyBuildDirTxt" BeforeTargets="AfterBuild">
- <PropertyGroup>
- <_Content>$(OutDir)</_Content>
- <_ExistingContent Condition="Exists('$(OutDir)pybuilddir.txt')">$([System.IO.File]::ReadAllText('$(OutDir)pybuilddir.txt'))</_ExistingContent>
- </PropertyGroup>
- <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" />
+ <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="" Overwrite="true" />
</Target>
</Project>