def make_file_info(src_path):
    root, tail = os.path.split(src_path)
    fnroot, _ = os.path.splitext(tail)
    cache_dir = os.path.join(root, CACHEDIR)
    fn = ''.join((fnroot, '.', MAGIC_TAG, os.path.extsep, 'enamlc'))
    cache_path = os.path.join(cache_dir, fn)
    return EnamlFileInfo(src_path, cache_path, cache_dir)
Unlock this locked binary protocol so that further boxes may be sent
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/import_hooks.py/make_file_info--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/amp.py/BinaryBoxProtocol._unlockFromSwitch