Installing sonLib.

(1) Place the directory containing sonLib on your python path. i.e.
PYTHONPATH=${PYTHONPATH}:FOO
where FOO/sonLib is the path to the base directory of sonLib. 

(2) Compile the C code:
In sonLib type 'make all' then 'make test' to test the installation

Linking the C libraries: all libraries built are placed in 'sonLib/lib'

See https://github.com/benedictpaten/ for different projects.