From: Steve Dower Date: Fri, 6 Feb 2015 17:02:54 +0000 (-0800) Subject: Require Mercurial on PATH when building a Windows release. X-Git-Tag: v3.5.0a1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=268f3de1db67098ed4e4b96110159190667a1147;p=python Require Mercurial on PATH when building a Windows release. Without it, we will generate invalid build information for sys.version --- 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