1# Placeholder because KDTree moved
2# Remove this in version 1.0
3from __future__ import absolute_import
4__all__ = ['NeighborSearch']
5
6import warnings
7
8with warnings.catch_warnings():
9    warnings.simplefilter('always', DeprecationWarning)
10    warnings.warn(('KDTree has been removed in 0.11. Instead you can use the '
11                   'BioPython or scikit-learn implementation directly. The '
12                   '"AtomNeighborSearch" class is still available in the '
13                   'NeighborSearch module which is moved to MDAnalysis.lib.NeighborSearch.'
14                   'This KDTree module will be removed in the 1.0 release.'),
15                  DeprecationWarning)
16
17from .lib import NeighborSearch
18