
Building and installing Sketch on Windows
=========================================

Before you can run Sketch on Windows you have to install
all the third party software Sketch depends on, namely:

Python - http://www.python.org/download/
Python Imaging Library - http://www.pythonware.com/products/pil/index.htm
PyGTK v2 - http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
GTK+ Runtime Environment v2 - http://www.dropline.net/gtk/download.php

In addition, if you want to build Sketch you need a C compiler. It is
possible to build Sketch atleast using MinGW (http://www.mingw.org/),
but also many other compilers should work.

Besides a compiler you need to download the following development
environments or source packages:

GTK+ Development Environment - http://www.dropline.net/gtk/download.php
Python Imaging Library Source - http://www.pythonware.com/products/pil/index.htm

NOTE FOR MSVC++ USERS: Since MSVC lacks rint function that Sketch uses,
you have to define the function by yourself.


Building
--------

The building process is handled by Python's Distutils so all you have to do is
to modify some directory variables in w32setup.py and to run the script.

The following command builds Sketch using MinGW compiler. If you use another
compiler, adjust the parameters accordingly.
python w32setup.py build --compiler=mingw32


Installing
----------

Sketch is installed using a self-executable Python Distutils installer. The
installer is created in dist directory using the following command.

python w32setup.py build --compiler=mingw32 bdist_wininst
