summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-23 00:07:56 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-23 00:07:56 (GMT)
commitfb4a96a58fe0994f1d4b0328874a99376c25fc20 (patch)
treea1d394280d0b0813a06102a8c33d2fe27ce2fd1f /PCbuild
parent208bbd29d355d98088d43becdd4f9b818f2ac798 (diff)
downloadcpython-fb4a96a58fe0994f1d4b0328874a99376c25fc20.zip
cpython-fb4a96a58fe0994f1d4b0328874a99376c25fc20.tar.gz
cpython-fb4a96a58fe0994f1d4b0328874a99376c25fc20.tar.bz2
Issue #28251: Improvements to help manuals on Windows.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/python.vcxproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index 60116df..807213f 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -88,7 +88,9 @@
<UcrtName>ucrtbase</UcrtName>
<UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName>
</PropertyGroup>
- <Exec Command='"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
+ <Exec Command='setlocal
+set PYTHONPATH=$(PySourcePath)Lib
+"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
</Target>
<Target Name="GeneratePythonBat" AfterTargets="AfterBuild">
<PropertyGroup>
@@ -99,6 +101,8 @@
@rem This is only meant as a convenience for developing CPython
@rem and using it outside of that context is ill-advised.
@echo Running $(Configuration)^|$(Platform) interpreter...
+@setlocal
+@set PYTHONHOME=$(PySourcePath)
@"$(OutDir)python$(PyDebugExt).exe" %*
</_Content>
<_ExistingContent Condition="Exists('$(PySourcePath)python.bat')">$([System.IO.File]::ReadAllText('$(PySourcePath)python.bat'))</_ExistingContent>