Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b220e1

Browse files
committed
Issue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.
If PYTHON is undefined, this fails without the launcher (installed with 3.3 or from PyPI), but this is better than always failing. Patch from Zachary Ware.
1 parent b5fe247 commit 3b220e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
setlocal
33

44
set SVNROOT=http://svn.python.org/projects
5-
if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
5+
if "%PYTHON%" EQU "" set PYTHON=py -2
66
if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
77
if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
88

0 commit comments

Comments
 (0)