diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2016-09-22 17:09:56 -0700 |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-22 17:09:56 -0700 |
| commit | 765285337a73bcbed608434fa98b9964fa33c74a (patch) | |
| tree | bfa682ae3b6d5ecb508a66c2571a0be2862565bf /PCbuild | |
| parent | ad4d2a50b94f1d8367255bd218a306af07742d90 (diff) | |
| parent | fb4a96a58fe0994f1d4b0328874a99376c25fc20 (diff) | |
| download | cpython-git-765285337a73bcbed608434fa98b9964fa33c74a.tar.gz | |
Issue #28251: Improvements to help manuals on Windows.
Diffstat (limited to 'PCbuild')
| -rw-r--r-- | PCbuild/python.vcxproj | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index 60116df271..807213f12a 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> |
