import warnings

w_s = "The module 'dipy.reconst.peaks' is deprecated."
w_s += " Please use the module 'dipy.direction.peaks' instead"
warnings.warn(w_s, DeprecationWarning)

from dipy.direction.peaks import *

Add back peaks for backwards compatibility with a deprecation warning.