Mercurial > cpython-lru_cache-weakref
annotate Doc/make.bat @ 80661:94de77bd0b4b 2.7
Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Thu, 29 Nov 2012 19:51:28 +0200 |
| parents | b36cb4602e21 |
| children | 7338e7ec47f0 |
| rev | line source |
|---|---|
|
68245
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
1 @@echo off |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
2 setlocal |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
3 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
4 set SVNROOT=http://svn.python.org/projects |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
5 if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
6 if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
7 if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
8 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
9 if "%1" EQU "" goto help |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
10 if "%1" EQU "html" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
11 if "%1" EQU "htmlhelp" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
12 if "%1" EQU "latex" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
13 if "%1" EQU "text" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
14 if "%1" EQU "suspicious" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
15 if "%1" EQU "linkcheck" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
16 if "%1" EQU "changes" goto build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
17 if "%1" EQU "checkout" goto checkout |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
18 if "%1" EQU "update" goto update |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
19 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
20 :help |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
21 set this=%~n0 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
22 echo HELP |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
23 echo. |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
24 echo %this% checkout |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
25 echo %this% update |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
26 echo %this% html |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
27 echo %this% htmlhelp |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
28 echo %this% latex |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
29 echo %this% text |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
30 echo %this% suspicious |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
31 echo %this% linkcheck |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
32 echo %this% changes |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
33 echo. |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
34 goto end |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
35 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
36 :checkout |
|
68247
e2e182c40b5a
Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents:
65702
diff
changeset
|
37 svn co %SVNROOT%/external/Sphinx-0.6.7/sphinx tools/sphinx |
|
68245
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
38 svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
39 svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
40 svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
41 goto end |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
42 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
43 :update |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
44 svn update tools/sphinx |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
45 svn update tools/docutils |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
46 svn update tools/jinja2 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
47 svn update tools/pygments |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
48 goto end |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
49 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
50 :build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
51 if not exist build mkdir build |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
52 if not exist build\%1 mkdir build\%1 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
53 if not exist build\doctrees mkdir build\doctrees |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
54 cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%* |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
55 if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
56 goto end |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
57 |
|
8311b73509d5
Add .hgeol file and fix newlines in the 2.6 branch.
Georg Brandl <georg@python.org>
parents:
59573
diff
changeset
|
58 :end |
