from bento.commands import hooks

@hooks.pre_build
def pre_build(context):
    context.tweak_builder("_fitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
    context.tweak_builder("interpnd", use="FBLAS CLIB", features="c fc cshlib pyext bento f2py")
    context.tweak_builder("dfitpack", use="fitpack FBLAS CLIB", features="c fc cshlib pyext bento f2py")
    context.tweak_builder("_interpolate", use="FBLAS CLIB", features="cxx cxxshlib fc pyext bento")
