Python paint module

Pre-requisites

The paint module depends upon three free libraries:

FreeType This library provides an advanced TrueType font renderer, which means the paint module produces high quality text.
libart The libart graphics library provides a PostScript like 2-D rendering model with alpha transparency.
libpng Allows the images produced in the paint module to be saved as PNG files.

Installation

If like me, you are using Debian, you will need to install developer packages for the three libraries listed above:

bash% apt-get install libart-dev libpng2-dev freetype2-dev

On a Linux machine, you should be able to simply do the following:

bash# tar xzf paint-0.2.tar.gz
bash# cd paint-0.2
bash# python setup.py install