summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-23 00:11:53 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-23 00:11:53 (GMT)
commit3e7d93dc705d32b7daade4e2ae60811bc79db615 (patch)
treef62f48ff8221321765f06c0265bd76cb4bb99d14 /PCbuild
parent3bff73890e0fca60bb74cd99abcc7f1562b4fa61 (diff)
parent765285337a73bcbed608434fa98b9964fa33c74a (diff)
downloadcpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.zip
cpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.tar.gz
cpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.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>