Buildbot/Installer/Creation
Buildbot Installer Creation Instructions
Below are the instructions for creating a Buildbot Win32 Installer.
Prerequisites
Download the existing installer source
Download the existing buildbot installer source from here.
Modify Python/Twisted installer sources
To change the version of Python, Twisted, on Pywin32 being distributed with the installer download the paticular installer and place it in the "Buildbot Installer" directory.
Open up buildbot-installer.nsi and change the following lines appropriately:
!define PYTHON_INSTALLER "python-2.5.msi" !define TWISTED_INSTALLER "Twisted-2.5.0.win32-py2.5.exe" !define PYWIN32_INSTALLER "pywin32-210.win32-py2.5.exe"
For example, to use Python 2.4.4 you would download python-2.4.4.msi and change the PYTHON_INSTALLER line to:
!define PYTHON_INSTALLER "python-2.4.4.msi"
By default the installer uses the following versions:
- Python 2.5
- Python-Twisted 2.5.0 (includes Zope-Interface)
- PyWin32 Build 210
Note: Make sure the PYTHON_PATH variable is set to the default install path of the python executable
Modify Buildbot install source
To change the version of Buildbot being distributed with the installer download it's source tarball and change the following lines in buildbot-installer.nsi:
!define BUILDBOT_TARBALL "buildbot-03082007-moz.tar.gz" !define BUILDBOT_DIRECTORY "buildbot-03082007-moz"
BUILDBOT_DIRECTORY is the directory inside the tarball with the Buildbot source.
Build the Installer
Right click on buildbot-installer.nsi and select 'Compile NSIS Script'. If you do not have this available you can run the following command in the "Buildbot Installer" directory:
makensis buildbot-installer.nsi
Once this is done you should have a "buildbot-installer.exe". This file has all of the other installers embedded in it and is all you need to install Buildbot on Windows.