mirror of https://github.com/python/cpython
Require Mercurial on PATH when building a Windows release.
Without it, we will generate invalid build information for sys.version
This commit is contained in:
parent
bf635492a7
commit
268f3de1db
|
@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp
|
||||||
if errorlevel 1 goto :eof
|
if errorlevel 1 goto :eof
|
||||||
:skipdoc
|
: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"
|
where dlltool 2>nul >"%TEMP%\dlltool.loc"
|
||||||
if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%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
|
if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1
|
||||||
|
|
Loading…
Reference in New Issue