diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 09:02:54 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 09:02:54 -0800 |
commit | 06a99c45d6518c4d09abcbf73a32b6fc9519d80b (patch) | |
tree | f08ff4e5dbfc672d7934e80f01f81e1782caf02b /Tools | |
parent | 3c9c7f252492939a97c3809221db3700c0ba8655 (diff) | |
download | cpython-06a99c45d6518c4d09abcbf73a32b6fc9519d80b.tar.gz |
Require Mercurial on PATH when building a Windows release.
Without it, we will generate invalid build information for sys.version
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/buildrelease.bat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index b39f13e083..d44125054b 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp if errorlevel 1 goto :eof :skipdoc +where hg >nul 2>nul +if errorlevel 1 echo Cannot find hg on PATH & exit /B 1 + where dlltool 2>nul >"%TEMP%\dlltool.loc" if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%TEMP%\dlltool.loc" if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1 |