[Biopython-dev] Bio.KDTree

Peter biopython at maubp.freeserve.co.uk
Tue Jul 22 16:33:53 UTC 2008


On Tue, Jul 22, 2008 at 12:38 PM, Michiel de Hoon <mjldehoon at yahoo.com> wrote:
> Hi everybody,
>
> Bio.KDTree is currently the only piece of C++ code in Biopython. C++ doesn't
> compile cleanly on all platforms (for example it is missing in the Biopython
> installer for Python 2.3 on Windows); some platforms don't even have a C++
> compiler. For this reason, setup.py asks the user each time if Bio.KDTree
> should be compiled. Does anybody (Thomas?) mind if I convert this code to
> plain C? That would be a nice weekend project. Then we can get rid of the
> question in setup.py, and Bio.KDTree can be made available on all platforms.

If you want to spend your weekend doing this, it does sounds like a
worthwhile incremental improvement to Biopython - and should simplify
the build process which is great.

Peter

P.S.
Have you noticed Bug 2489 "KDTree NN search without specifying radius"?
http://bugzilla.open-bio.org/show_bug.cgi?id=2489



More information about the Biopython-dev mailing list