Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f1e174

Browse files
committed
Make svn:eol-style's more consistent
1 parent 2ec8cbc commit 7f1e174

22 files changed

Lines changed: 513 additions & 513 deletions

Doc/make.bat

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
1-
@@echo off
2-
setlocal
3-
4-
set SVNROOT=http://svn.python.org/projects
5-
if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
6-
if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
7-
if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
8-
9-
if "%1" EQU "" goto help
10-
if "%1" EQU "html" goto build
11-
if "%1" EQU "htmlhelp" goto build
12-
if "%1" EQU "latex" goto build
13-
if "%1" EQU "text" goto build
14-
if "%1" EQU "suspicious" goto build
15-
if "%1" EQU "linkcheck" goto build
16-
if "%1" EQU "changes" goto build
17-
if "%1" EQU "checkout" goto checkout
18-
if "%1" EQU "update" goto update
19-
20-
:help
21-
set this=%~n0
22-
echo HELP
23-
echo.
24-
echo %this% checkout
25-
echo %this% update
26-
echo %this% html
27-
echo %this% htmlhelp
28-
echo %this% latex
29-
echo %this% text
30-
echo %this% suspicious
31-
echo %this% linkcheck
32-
echo %this% changes
33-
echo.
34-
goto end
35-
36-
:checkout
37-
svn co %SVNROOT%/external/Sphinx-1.0.7/sphinx tools/sphinx
38-
svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils
39-
svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2
40-
svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments
41-
goto end
42-
43-
:update
44-
svn update tools/sphinx
45-
svn update tools/docutils
46-
svn update tools/jinja2
47-
svn update tools/pygments
48-
goto end
49-
50-
:build
51-
if not exist build mkdir build
52-
if not exist build\%1 mkdir build\%1
53-
if not exist build\doctrees mkdir build\doctrees
54-
cmd /C %PYTHON% --version
55-
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
56-
if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
57-
goto end
58-
59-
:end
1+
@@echo off
2+
setlocal
3+
4+
set SVNROOT=http://svn.python.org/projects
5+
if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
6+
if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
7+
if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
8+
9+
if "%1" EQU "" goto help
10+
if "%1" EQU "html" goto build
11+
if "%1" EQU "htmlhelp" goto build
12+
if "%1" EQU "latex" goto build
13+
if "%1" EQU "text" goto build
14+
if "%1" EQU "suspicious" goto build
15+
if "%1" EQU "linkcheck" goto build
16+
if "%1" EQU "changes" goto build
17+
if "%1" EQU "checkout" goto checkout
18+
if "%1" EQU "update" goto update
19+
20+
:help
21+
set this=%~n0
22+
echo HELP
23+
echo.
24+
echo %this% checkout
25+
echo %this% update
26+
echo %this% html
27+
echo %this% htmlhelp
28+
echo %this% latex
29+
echo %this% text
30+
echo %this% suspicious
31+
echo %this% linkcheck
32+
echo %this% changes
33+
echo.
34+
goto end
35+
36+
:checkout
37+
svn co %SVNROOT%/external/Sphinx-1.0.7/sphinx tools/sphinx
38+
svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils
39+
svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2
40+
svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments
41+
goto end
42+
43+
:update
44+
svn update tools/sphinx
45+
svn update tools/docutils
46+
svn update tools/jinja2
47+
svn update tools/pygments
48+
goto end
49+
50+
:build
51+
if not exist build mkdir build
52+
if not exist build\%1 mkdir build\%1
53+
if not exist build\doctrees mkdir build\doctrees
54+
cmd /C %PYTHON% --version
55+
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
56+
if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
57+
goto end
58+
59+
:end

PC/VS7.1/build_ssl.bat

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL
2-
3-
@echo off
4-
if not defined HOST_PYTHON (
5-
if %1 EQU Debug (
6-
set HOST_PYTHON=python_d.exe
7-
) ELSE (
8-
set HOST_PYTHON=python.exe
9-
)
10-
)
11-
%HOST_PYTHON% build_ssl.py %1 %2
12-
1+
if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL
2+
3+
@echo off
4+
if not defined HOST_PYTHON (
5+
if %1 EQU Debug (
6+
set HOST_PYTHON=python_d.exe
7+
) ELSE (
8+
set HOST_PYTHON=python.exe
9+
)
10+
)
11+
%HOST_PYTHON% build_ssl.py %1 %2
12+

PC/VS8.0/build.bat

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
@echo off
2-
rem A batch program to build or rebuild a particular configuration.
3-
rem just for convenience.
4-
5-
setlocal
6-
set platf=Win32
7-
set conf=Release
8-
set build=/build
9-
10-
:CheckOpts
11-
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
12-
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
13-
if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
14-
15-
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
16-
echo %cmd%
17-
%cmd%
1+
@echo off
2+
rem A batch program to build or rebuild a particular configuration.
3+
rem just for convenience.
4+
5+
setlocal
6+
set platf=Win32
7+
set conf=Release
8+
set build=/build
9+
10+
:CheckOpts
11+
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
12+
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
13+
if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
14+
15+
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
16+
echo %cmd%
17+
%cmd%

PC/VS8.0/build_env.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@%comspec% /k env.bat %*
1+
@%comspec% /k env.bat %*

PC/VS8.0/build_pgo.bat

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
@echo off
2-
rem A batch program to build PGO (Profile guided optimization) by first
3-
rem building instrumented binaries, then running the testsuite, and
4-
rem finally building the optimized code.
5-
rem Note, after the first instrumented run, one can just keep on
6-
rem building the PGUpdate configuration while developing.
7-
8-
setlocal
9-
set platf=Win32
10-
11-
rem use the performance testsuite. This is quick and simple
12-
set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc
13-
set path1=..\..\tools\pybench
14-
15-
rem or the whole testsuite for more thorough testing
16-
set job2=..\..\lib\test\regrtest.py
17-
set path2=..\..\lib
18-
19-
set job=%job1%
20-
set clrpath=%path1%
21-
22-
:CheckOpts
23-
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
24-
if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts
25-
26-
set PGI=%platf%-pgi
27-
set PGO=%platf%-pgo
28-
29-
@echo on
30-
rem build the instrumented version
31-
call build -p %platf% -c PGInstrument
32-
33-
rem remove .pyc files, .pgc files and execute the job
34-
%PGI%\python.exe rmpyc.py %clrpath%
35-
del %PGI%\*.pgc
36-
%PGI%\python.exe %job%
37-
38-
rem finally build the optimized version
39-
if exist %PGO% del /s /q %PGO%
40-
call build -p %platf% -c PGUpdate
41-
1+
@echo off
2+
rem A batch program to build PGO (Profile guided optimization) by first
3+
rem building instrumented binaries, then running the testsuite, and
4+
rem finally building the optimized code.
5+
rem Note, after the first instrumented run, one can just keep on
6+
rem building the PGUpdate configuration while developing.
7+
8+
setlocal
9+
set platf=Win32
10+
11+
rem use the performance testsuite. This is quick and simple
12+
set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc
13+
set path1=..\..\tools\pybench
14+
15+
rem or the whole testsuite for more thorough testing
16+
set job2=..\..\lib\test\regrtest.py
17+
set path2=..\..\lib
18+
19+
set job=%job1%
20+
set clrpath=%path1%
21+
22+
:CheckOpts
23+
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
24+
if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts
25+
26+
set PGI=%platf%-pgi
27+
set PGO=%platf%-pgo
28+
29+
@echo on
30+
rem build the instrumented version
31+
call build -p %platf% -c PGInstrument
32+
33+
rem remove .pyc files, .pgc files and execute the job
34+
%PGI%\python.exe rmpyc.py %clrpath%
35+
del %PGI%\*.pgc
36+
%PGI%\python.exe %job%
37+
38+
rem finally build the optimized version
39+
if exist %PGO% del /s /q %PGO%
40+
call build -p %platf% -c PGUpdate
41+

PC/VS8.0/build_ssl.bat

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
@echo off
2-
if not defined HOST_PYTHON (
3-
if %1 EQU Debug (
4-
set HOST_PYTHON=python_d.exe
5-
if not exist python33_d.dll exit 1
6-
) ELSE (
7-
set HOST_PYTHON=python.exe
8-
if not exist python33.dll exit 1
9-
)
10-
)
11-
%HOST_PYTHON% build_ssl.py %1 %2 %3
12-
1+
@echo off
2+
if not defined HOST_PYTHON (
3+
if %1 EQU Debug (
4+
set HOST_PYTHON=python_d.exe
5+
if not exist python33_d.dll exit 1
6+
) ELSE (
7+
set HOST_PYTHON=python.exe
8+
if not exist python33.dll exit 1
9+
)
10+
)
11+
%HOST_PYTHON% build_ssl.py %1 %2 %3
12+

PC/VS8.0/env.bat

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@echo off
2-
set VS8=%ProgramFiles%\Microsoft Visual Studio 8
3-
echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64
4-
echo.
5-
call "%VS8%\VC\vcvarsall.bat" %1
1+
@echo off
2+
set VS8=%ProgramFiles%\Microsoft Visual Studio 8
3+
echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64
4+
echo.
5+
call "%VS8%\VC\vcvarsall.bat" %1

PC/VS8.0/idle.bat

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
@echo off
2-
rem start idle
3-
rem Usage: idle [-d]
4-
rem -d Run Debug build (python_d.exe). Else release build.
5-
6-
setlocal
7-
set exe=python
8-
PATH %PATH%;..\..\..\tcltk\bin
9-
10-
if "%1"=="-d" (set exe=python_d) & shift
11-
12-
set cmd=%exe% ../../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
13-
14-
echo on
15-
%cmd%
1+
@echo off
2+
rem start idle
3+
rem Usage: idle [-d]
4+
rem -d Run Debug build (python_d.exe). Else release build.
5+
6+
setlocal
7+
set exe=python
8+
PATH %PATH%;..\..\..\tcltk\bin
9+
10+
if "%1"=="-d" (set exe=python_d) & shift
11+
12+
set cmd=%exe% ../../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
13+
14+
echo on
15+
%cmd%

0 commit comments

Comments
 (0)