Kd-tree code from Astrometry.net, with python bindings and i/o to FITS format.
Copyright Dustin Lang, Kier Mierle 2006-2014.
Licensed under GPLv2.
This distribution is just as subset of files from the Astrometry.net code.
::
python setup-libkd.py install
Or perhaps::
python setup-libkd.py install --home=/path/to/install