[Biopython-dev] [Bug 1733] compiler recognition in setup.py

thamelry at binf.ku.dk thamelry at binf.ku.dk
Tue Jan 18 02:38:16 EST 2005


> From the KDTree source code, it seems
> that KDTree is implemented in C++ for the benefit of speed

Correct.

> Can these routines be implemented in C or (better yet) using
> Numerical Python?

An implementation in C is of course possible. A Numpy implementation is
too slow (the KDTree prototype made use of Python/Numpy). But the problem
really lies with Distutils: it does not deal well with C++ code.

I don't think KDTree will be missed by many Biopython people, so it can be
left out as far as I am concerned. It probably makes sense to make it
available as an independent package (I know some astronomers are using it
to study star maps for example :-).

Best regards,

-Thomas









More information about the Biopython-dev mailing list