forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make svn:eol-style's more consistent
- Loading branch information
Showing
22 changed files
with
513 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
@@echo off | ||
setlocal | ||
|
||
set SVNROOT=http://svn.python.org/projects | ||
if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python | ||
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 | ||
|
||
if "%1" EQU "" goto help | ||
if "%1" EQU "html" goto build | ||
if "%1" EQU "htmlhelp" goto build | ||
if "%1" EQU "latex" goto build | ||
if "%1" EQU "text" goto build | ||
if "%1" EQU "suspicious" goto build | ||
if "%1" EQU "linkcheck" goto build | ||
if "%1" EQU "changes" goto build | ||
if "%1" EQU "checkout" goto checkout | ||
if "%1" EQU "update" goto update | ||
|
||
:help | ||
set this=%~n0 | ||
echo HELP | ||
echo. | ||
echo %this% checkout | ||
echo %this% update | ||
echo %this% html | ||
echo %this% htmlhelp | ||
echo %this% latex | ||
echo %this% text | ||
echo %this% suspicious | ||
echo %this% linkcheck | ||
echo %this% changes | ||
echo. | ||
goto end | ||
|
||
:checkout | ||
svn co %SVNROOT%/external/Sphinx-1.0.7/sphinx tools/sphinx | ||
svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils | ||
svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2 | ||
svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments | ||
goto end | ||
|
||
:update | ||
svn update tools/sphinx | ||
svn update tools/docutils | ||
svn update tools/jinja2 | ||
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% --version | ||
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%* | ||
if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp | ||
goto end | ||
|
||
:end | ||
@@echo off | ||
setlocal | ||
|
||
set SVNROOT=http://svn.python.org/projects | ||
if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python | ||
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 | ||
|
||
if "%1" EQU "" goto help | ||
if "%1" EQU "html" goto build | ||
if "%1" EQU "htmlhelp" goto build | ||
if "%1" EQU "latex" goto build | ||
if "%1" EQU "text" goto build | ||
if "%1" EQU "suspicious" goto build | ||
if "%1" EQU "linkcheck" goto build | ||
if "%1" EQU "changes" goto build | ||
if "%1" EQU "checkout" goto checkout | ||
if "%1" EQU "update" goto update | ||
|
||
:help | ||
set this=%~n0 | ||
echo HELP | ||
echo. | ||
echo %this% checkout | ||
echo %this% update | ||
echo %this% html | ||
echo %this% htmlhelp | ||
echo %this% latex | ||
echo %this% text | ||
echo %this% suspicious | ||
echo %this% linkcheck | ||
echo %this% changes | ||
echo. | ||
goto end | ||
|
||
:checkout | ||
svn co %SVNROOT%/external/Sphinx-1.0.7/sphinx tools/sphinx | ||
svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils | ||
svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2 | ||
svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments | ||
goto end | ||
|
||
:update | ||
svn update tools/sphinx | ||
svn update tools/docutils | ||
svn update tools/jinja2 | ||
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% --version | ||
cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%* | ||
if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp | ||
goto end | ||
|
||
:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL | ||
|
||
@echo off | ||
if not defined HOST_PYTHON ( | ||
if %1 EQU Debug ( | ||
set HOST_PYTHON=python_d.exe | ||
) ELSE ( | ||
set HOST_PYTHON=python.exe | ||
) | ||
) | ||
%HOST_PYTHON% build_ssl.py %1 %2 | ||
|
||
if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL | ||
|
||
@echo off | ||
if not defined HOST_PYTHON ( | ||
if %1 EQU Debug ( | ||
set HOST_PYTHON=python_d.exe | ||
) ELSE ( | ||
set HOST_PYTHON=python.exe | ||
) | ||
) | ||
%HOST_PYTHON% build_ssl.py %1 %2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
@echo off | ||
rem A batch program to build or rebuild a particular configuration. | ||
rem just for convenience. | ||
|
||
setlocal | ||
set platf=Win32 | ||
set conf=Release | ||
set build=/build | ||
|
||
:CheckOpts | ||
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts | ||
|
||
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%" | ||
echo %cmd% | ||
%cmd% | ||
@echo off | ||
rem A batch program to build or rebuild a particular configuration. | ||
rem just for convenience. | ||
|
||
setlocal | ||
set platf=Win32 | ||
set conf=Release | ||
set build=/build | ||
|
||
:CheckOpts | ||
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts | ||
|
||
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%" | ||
echo %cmd% | ||
%cmd% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@%comspec% /k env.bat %* | ||
@%comspec% /k env.bat %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
@echo off | ||
rem A batch program to build PGO (Profile guided optimization) by first | ||
rem building instrumented binaries, then running the testsuite, and | ||
rem finally building the optimized code. | ||
rem Note, after the first instrumented run, one can just keep on | ||
rem building the PGUpdate configuration while developing. | ||
|
||
setlocal | ||
set platf=Win32 | ||
|
||
rem use the performance testsuite. This is quick and simple | ||
set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc | ||
set path1=..\..\tools\pybench | ||
|
||
rem or the whole testsuite for more thorough testing | ||
set job2=..\..\lib\test\regrtest.py | ||
set path2=..\..\lib | ||
|
||
set job=%job1% | ||
set clrpath=%path1% | ||
|
||
:CheckOpts | ||
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts | ||
|
||
set PGI=%platf%-pgi | ||
set PGO=%platf%-pgo | ||
|
||
@echo on | ||
rem build the instrumented version | ||
call build -p %platf% -c PGInstrument | ||
|
||
rem remove .pyc files, .pgc files and execute the job | ||
%PGI%\python.exe rmpyc.py %clrpath% | ||
del %PGI%\*.pgc | ||
%PGI%\python.exe %job% | ||
|
||
rem finally build the optimized version | ||
if exist %PGO% del /s /q %PGO% | ||
call build -p %platf% -c PGUpdate | ||
|
||
@echo off | ||
rem A batch program to build PGO (Profile guided optimization) by first | ||
rem building instrumented binaries, then running the testsuite, and | ||
rem finally building the optimized code. | ||
rem Note, after the first instrumented run, one can just keep on | ||
rem building the PGUpdate configuration while developing. | ||
|
||
setlocal | ||
set platf=Win32 | ||
|
||
rem use the performance testsuite. This is quick and simple | ||
set job1=..\..\tools\pybench\pybench.py -n 1 -C 1 --with-gc | ||
set path1=..\..\tools\pybench | ||
|
||
rem or the whole testsuite for more thorough testing | ||
set job2=..\..\lib\test\regrtest.py | ||
set path2=..\..\lib | ||
|
||
set job=%job1% | ||
set clrpath=%path1% | ||
|
||
:CheckOpts | ||
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts | ||
if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts | ||
|
||
set PGI=%platf%-pgi | ||
set PGO=%platf%-pgo | ||
|
||
@echo on | ||
rem build the instrumented version | ||
call build -p %platf% -c PGInstrument | ||
|
||
rem remove .pyc files, .pgc files and execute the job | ||
%PGI%\python.exe rmpyc.py %clrpath% | ||
del %PGI%\*.pgc | ||
%PGI%\python.exe %job% | ||
|
||
rem finally build the optimized version | ||
if exist %PGO% del /s /q %PGO% | ||
call build -p %platf% -c PGUpdate | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@echo off | ||
if not defined HOST_PYTHON ( | ||
if %1 EQU Debug ( | ||
set HOST_PYTHON=python_d.exe | ||
if not exist python33_d.dll exit 1 | ||
) ELSE ( | ||
set HOST_PYTHON=python.exe | ||
if not exist python33.dll exit 1 | ||
) | ||
) | ||
%HOST_PYTHON% build_ssl.py %1 %2 %3 | ||
|
||
@echo off | ||
if not defined HOST_PYTHON ( | ||
if %1 EQU Debug ( | ||
set HOST_PYTHON=python_d.exe | ||
if not exist python33_d.dll exit 1 | ||
) ELSE ( | ||
set HOST_PYTHON=python.exe | ||
if not exist python33.dll exit 1 | ||
) | ||
) | ||
%HOST_PYTHON% build_ssl.py %1 %2 %3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@echo off | ||
set VS8=%ProgramFiles%\Microsoft Visual Studio 8 | ||
echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64 | ||
echo. | ||
call "%VS8%\VC\vcvarsall.bat" %1 | ||
@echo off | ||
set VS8=%ProgramFiles%\Microsoft Visual Studio 8 | ||
echo Build environments: x86, ia64, amd64, x86_amd64, x86_ia64 | ||
echo. | ||
call "%VS8%\VC\vcvarsall.bat" %1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
@echo off | ||
rem start idle | ||
rem Usage: idle [-d] | ||
rem -d Run Debug build (python_d.exe). Else release build. | ||
|
||
setlocal | ||
set exe=python | ||
PATH %PATH%;..\..\..\tcltk\bin | ||
|
||
if "%1"=="-d" (set exe=python_d) & shift | ||
|
||
set cmd=%exe% ../../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
|
||
echo on | ||
%cmd% | ||
@echo off | ||
rem start idle | ||
rem Usage: idle [-d] | ||
rem -d Run Debug build (python_d.exe). Else release build. | ||
|
||
setlocal | ||
set exe=python | ||
PATH %PATH%;..\..\..\tcltk\bin | ||
|
||
if "%1"=="-d" (set exe=python_d) & shift | ||
|
||
set cmd=%exe% ../../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
|
||
echo on | ||
%cmd% |
Oops, something went wrong.