def METHOD_NAME(fromfile, tofile):
    flags = ['-3', '--fast-fail']
    if tofile.endswith('.cxx'):
        flags.append('--cplus')
    subprocess.check_call(
        [sys.executable, '-m', 'cython'] + flags + ["-o", tofile, fromfile])