mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
04c420f605
svn+ssh://pythondev@svn.python.org/python/trunk ........ r60043 | christian.heimes | 2008-01-18 10:51:43 +0100 (Fri, 18 Jan 2008) | 2 lines Build _ctypes after the other extensions. Its build process depends on the _weakref extension (and maybe other modules, too) ........ r60048 | christian.heimes | 2008-01-18 12:58:50 +0100 (Fri, 18 Jan 2008) | 2 lines Added win_add2path.py to Tools/scripts/ Added builddoc.bat to Doc/ ........ r60049 | vinay.sajip | 2008-01-18 16:54:14 +0100 (Fri, 18 Jan 2008) | 1 line Added section on passing contextual information to logging and documentation for the LoggerAdapter class. ........ r60050 | vinay.sajip | 2008-01-18 16:55:57 +0100 (Fri, 18 Jan 2008) | 1 line Added LoggerAdapter class, changed copyright dates, made check for extra parameter passed to logging methods explicitly against None rather than a truth value. ........ r60051 | georg.brandl | 2008-01-18 17:42:57 +0100 (Fri, 18 Jan 2008) | 2 lines Note that genexps are function scopes too and therefore won't see class attributes. ........ r60052 | christian.heimes | 2008-01-18 19:24:07 +0100 (Fri, 18 Jan 2008) | 1 line Added bytes and b'' as aliases for str and '' ........
53 lines
1.2 KiB
Batchfile
53 lines
1.2 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set SVNROOT=http://svn.python.org/projects
|
|
if "%PYTHON%" EQU "" set PYTHON=python25
|
|
|
|
if "%1" EQU "" goto help
|
|
if "%1" EQU "html" goto build
|
|
if "%1" EQU "htmlhelp" goto build
|
|
if "%1" EQU "web" goto build
|
|
if "%1" EQU "webrun" goto webrun
|
|
if "%1" EQU "checkout" goto checkout
|
|
if "%1" EQU "update" goto update
|
|
|
|
:help
|
|
echo HELP
|
|
echo.
|
|
echo builddoc checkout
|
|
echo builddoc update
|
|
echo builddoc html
|
|
echo builddoc htmlhelp
|
|
echo builddoc web
|
|
echo builddoc webrun
|
|
echo.
|
|
goto end
|
|
|
|
:checkout
|
|
svn co %SVNROOT%/doctools/trunk/sphinx tools/sphinx
|
|
svn co %SVNROOT%/external/docutils-0.4/docutils tools/docutils
|
|
svn co %SVNROOT%/external/Pygments-0.9/pygments tools/pygments
|
|
goto end
|
|
|
|
:update
|
|
svn update tools/sphinx
|
|
svn update tools/docutils
|
|
svn update tools/pygments
|
|
goto end
|
|
|
|
:build
|
|
if not exist build mkdir build
|
|
if not exist build\%1 mkdir build\%1
|
|
if not exist build\doctrees mkdir build\doctrees
|
|
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%1
|
|
if "%1" EQU "htmlhelp" "%ProgramFiles%\HTML Help Workshop\hhc.exe" build\htmlhelp\pydoc.hhp
|
|
goto end
|
|
|
|
:webrun
|
|
set PYTHONPATH=tools
|
|
%PYTHON% -m sphinx.web build\web
|
|
goto end
|
|
|
|
:end
|