Skip to content

Commit 268f3de

Browse files
committed
Require Mercurial on PATH when building a Windows release.
Without it, we will generate invalid build information for sys.version
1 parent bf63549 commit 268f3de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/msi/buildrelease.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp
4444
if errorlevel 1 goto :eof
4545
:skipdoc
4646

47+
where hg >nul 2>nul
48+
if errorlevel 1 echo Cannot find hg on PATH & exit /B 1
49+
4750
where dlltool 2>nul >"%TEMP%\dlltool.loc"
4851
if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%TEMP%\dlltool.loc"
4952
if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1

0 commit comments

Comments
 (0)