def ensure_directory_exists(dirpath):
    if not os.path.isdir(dirpath):
        os.makedirs(dirpath)
    return dirpath
Recursively find packages in *root_dir*.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/ensure_directory_exists--crossover with--dataset/ETHPy150Open numba/numba/setup.py/find_packages