
Edit setup.py to search for your library and include files. This is probably 
/usr/local/lib and /usr/local/include if you're doing a global install, or 
otherwise probably ($HOME)/lib and ($HOME)/include.

You may also need to edit line 4 of gpkimg.cc. if numpy is installed globally,
it will probably look like the following:
#include "/usr/local/lib/YOURPYTHONVERSION/site-packages/numpy/core/include/numpy/arrayobject.h"
Alternatively, you can create a symbolic link to the directory that contains
Numpy's arrayobject.h, like this:

ln -s /usr/local/lib/YOURPYTHONVERSION/site-packages/numpy/core/include/numpy


Then, 

python setup.py build

will build it, and 

python setup.py install 

will install it (you may need sudo for this). 

This all requires packages gpklib and gpkio.

(Author: Kyle Gorman, 2007)
