[Python-checkins] cpython (3.2): Issue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.

terry.reedy python-checkins at python.org
Thu Mar 14 02:42:09 CET 2013


http://hg.python.org/cpython/rev/9b45873e5a68
changeset:   82654:9b45873e5a68
branch:      3.2
parent:      82651:d4ab6556ff97
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Mar 13 21:33:50 2013 -0400
summary:
  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.

files:
  Doc/make.bat |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/make.bat b/Doc/make.bat
--- 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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list