

def install_dependencies(self, bundle_store, parent_dict, dest_path, copy):
    "\n        Symlink or copy this bundle's dependencies into the directory at dest_path.\n        The caller is responsible for cleaning up this directory.\n        "
    precondition(os.path.isabs(dest_path), ('%s is a relative path!' % (dest_path,)))
    pairs = link_path.get_dependency_paths(bundle_store, parent_dict, dest_path, relative_symlinks=(not copy))
    for (target, link_path) in pairs:
        if os.path.exists(link_path):
            path_util.remove(link_path)
        if copy:
            path_util.copy(target, link_path, follow_symlinks=False)
        else:
            os.symlink(target, link_path)

dataset/ETHPy150Open codalab/codalab-cli/codalab/objects/bundle.py Bundle.install_dependencies/VarMisuse@43/120 `self`->`link_path`