ms-windowsWindows Build Environment

dependenciesExternal Dependencies

You will need to install the following components which are bundled in the installer:
  • Python: the programming language used by this software (version 2.6 and 2.7 are supported)
  • Xming: the X server
  • Putty: the SSH client
  • GStreamer: the library used for network sound, install both the runtime and the SDK

Also, to generate the installer you will need:

GTKGTK & PyGTK

There are many ways of installing all the required components, here are the most popular ones:

All-in-one Installer

The easiest way is to install the all-in-one PyGTK package from ftp.gnome.org.

Downloading Individual Packages

The individual packages required for GTK can be downloaded from gtk.org, you will need cairo, gobject, pango, atk, glib and pygtk as well as their dependencies: image libraries (jpeg, tiff, png, svg...), compression libraries (zlib, bzip2, ..), etc..
You will also need to download and install svg support separately and update the gdk pixbuf loader cache: uncompress the svg related libraries, place the loaders in the gdk-pixbuf directory then run:

C:\GTK\bin\gdk-pixbuf-query-loaders.exe > C:\GTK\lib\gtk-pixbuf-2.0\2.10.0\z\loaders\loaders.cache

To simplify things somewhat, you can start with the all-in-one GTK runtime installer from gtk.org, or one of our pre-assembled all-in-one archives which you can find here. Then install PyGTK on top of that..

All the PyGTK components can be found in the win32 binaries section of ftp.gnome.org:

(always use the latest version)

pythonPython Extras

Most of the following python libraries must be installed using setuptools, so install that first. If you can find a binary installer for the libraries matching your version of Python, feel free to use that instead.
You will also need to install Microsoft Visual Studio, failure to do so will lead to this error: unable to find vcvarsall bat. Note: you will need to use the same version that was used to compile the version of Python you have installed (python 2.6 and 2.7 were compiled using Visual Studio 2008). Do not use MinGW unless your version of python was also built with it.


Then install the following extras using a command line similar to:
C:\Python27\Scripts\easy_install.exe extrapackagename
  • pyasn1: ASN1 library used by Twisted Conch SSH
  • pycrypto: provides encryption for many other components
  • zope.interface: required by Twisted
  • Twisted: the networking library. You can use one of the installers from the download page or build from source if no installer is available for your desired version of Python and Twisted
  • netifaces: to list the network interfaces
  • PIL (Python Imaging Library)
The following python libraries and tools need to be installed separately, installers are provided:
  • pywin32: which provides access to Windows specific API from python
  • python wmi: which provides access to the Windows Management Instrumentation API
  • py2exe: to generate the Windows executable
(if you encounter errors using py2exe due to missing packages, you may want to try to unpack the eggs)

setup-installerGenerating the installer

The win32\MAKE-INSTALLER.BAT script will build everything and package it up in a self-contained setup executable.

(You must adjust the file locations at the top of the file to match your own environment)