

def proto_gen_py(source, gen_dir):
    stamp = get_path(get_stamp(source, gen_dir, '.py_stamp'))
    output_dir = os.path.join(gen_dir, os.path.dirname(source))
    source = get_path(source)
    refresh(source, stamp, proto_gen_cmd(source, 'py', output_dir))

dataset/ETHPy150Open viewfinderco/viewfinder/__init__.py proto_gen_py/original