summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-14 01:33:50 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-14 01:33:50 (GMT)
commit3b220e11eb8e4768cbdef076d0ac133aaf4a2248 (patch)
tree7f4f8a31c55cfb231ac8121d828054d9e6eee2fc
parentb5fe2479c152c635e02897a7a5c72c97e4c22b6a (diff)
downloadcpython-3b220e11eb8e4768cbdef076d0ac133aaf4a2248.zip
cpython-3b220e11eb8e4768cbdef076d0ac133aaf4a2248.tar.gz
cpython-3b220e11eb8e4768cbdef076d0ac133aaf4a2248.tar.bz2
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.
-rw-r--r--Doc/make.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/make.bat b/Doc/make.bat
index 4ea2d51..af3bade 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