~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/buildout-templates/bin/build-installer.bat.in

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-05 18:56:37 UTC
  • mfrom: (4580.5.16 1.18-win32-buildbot)
  • Revision ID: pqm@pqm.ubuntu.com-20090805185637-3f0y10upzcdw7e0g
Updates to buildout.cfg etc to have 'make installer-all' start being
        the preferred way to build win32 installer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
%PYTHON% %ROOT%/ostools.py makedir %INSTALLERS%
50
50
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
51
51
 
52
 
bzr co %ROOT%/bzr/%BZR_TARGET% %TARGET%
 
52
rem Use %COMSPEC% /c in case bzr is actually a .bat file
 
53
%COMSPEC% /c bzr co %ROOT%/bzr/%BZR_TARGET% %TARGET%
53
54
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
54
55
 
 
56
rem Build the python-installer first, because we don't want to
 
57
rem include any of the 3rd-party plugins, because we don't bundle
 
58
rem their dependencies.
 
59
cd %TARGET%
 
60
make python-installer PYTHON=%CYG_PYTHON% PYTHON24=${settings:python24} PYTHON25=${settings:python25} PYTHON26=${settings:python26}
 
61
rem @if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
 
62
 
55
63
cd %ROOT%/subvertpy/%PLUGIN_TARGET%
56
64
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
57
65
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
68
76
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
69
77
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
70
78
 
71
 
cd %ROOT%/bzr-rebase/%PLUGIN_TARGET%
 
79
cd %ROOT%/bzr-rewrite/%PLUGIN_TARGET%
72
80
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
73
81
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
74
82
 
81
89
make installer PYTHON=%CYG_PYTHON%
82
90
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
83
91
 
84
 
rem Enable this when this branch is merged.
85
 
rem make python-installer PYTHON24=${settings:python24} PYTHON25=${settings:python25}
86
 
rem @if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
87
 
 
88
 
${settings:python24} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
89
 
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
90
 
 
91
 
${settings:python25} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
92
 
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
93
 
 
94
92
%PYTHON% %ROOT%/ostools.py copytodir %TARGET%/bzr*.exe %INSTALLERS%
95
93
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
96
94