from bento.commands import hooks

@hooks.pre_build
def pbuild(context):
    context.tweak_builder("_fftpack", features="c cshlib bento f2py pyext",
                          includes="src", use="dfftpack fftpack CLIB")
    context.tweak_builder("convolve", features="c cshlib bento f2py pyext",
                          includes="src", use="dfftpack fftpack CLIB")
