Lines Matching refs:all_deps
327 def add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg): argument
329 if pkg not in all_deps:
333 all_deps[pkg] = (pkg, build_deps, dev_deps)
335 (_, build_deps, dev_deps) = all_deps[pkg]
343 deps = add_non_dev_dependencies(args, all_deps, core_pkgs, visited, p)
347 deps = add_non_dev_dependencies(args, all_deps, core_pkgs, visited, p)
349 all_deps[pkg] = (pkg, build_deps, dev_deps)
355 all_deps = dict(map(lambda t: (t[0], t), found_pkgs))
358 dump_pkgs(args, "BEFORE", all_deps, core_pkgs, dev_pkgs)
361 add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg)
371 (_, build_deps, dev_deps) = all_deps[pkg]
373 add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg)
374 (_, build_deps, dev_deps) = all_deps[pkg]
381 dump_pkgs(args, "AFTER", all_deps, core_pkgs, dev_pkgs)
382 found_pkgs = list(map(lambda p: all_deps[p], core_pkgs))
387 def echo_dump_found_pkgs(args, msg, all_deps, pkgs): argument
392 (_, build_deps, dev_deps) = all_deps[pkg]
398 def dump_pkgs(args, msg, all_deps, core_pkgs, dev_pkgs): argument
399 echo_dump_found_pkgs(args, msg + " core_pkgs:", all_deps, core_pkgs)
400 echo_dump_found_pkgs(args, msg + " other_dev_pkgs:", all_deps, dev_pkgs)