diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-13 21:33:50 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-13 21:33:50 -0400 |
commit | 3b220e11eb8e4768cbdef076d0ac133aaf4a2248 (patch) | |
tree | 7f4f8a31c55cfb231ac8121d828054d9e6eee2fc /Doc/make.bat | |
parent | b5fe2479c152c635e02897a7a5c72c97e4c22b6a (diff) | |
download | cpython-git-3b220e11eb8e4768cbdef076d0ac133aaf4a2248.tar.gz |
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.
Diffstat (limited to 'Doc/make.bat')
-rw-r--r-- | Doc/make.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/make.bat b/Doc/make.bat index 4ea2d519b2..af3bade827 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -2,7 +2,7 @@ setlocal set SVNROOT=http://svn.python.org/projects -if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python +if "%PYTHON%" EQU "" set PYTHON=py -2 if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v |