def _set_source_root_parent(source_root_parent):
    filedir = os.path.dirname(__file__)
    submodules_list = os.listdir(os.path.join(filedir, source_root_parent))
    for d in submodules_list:
        if d == "__init__.py" or d == '.' or d == '..':
            continue
        sys.path.insert(1, os.path.join(filedir, source_root_parent, d))

    sys.path.append(os.path.join(filedir, source_root_parent))
add everything under `source_root_parent` to the list of source roots
dataset/ETHPy150Open dimagi/commcare-hq/fabfile.py/_set_source_root_parent