Skip to content


can_run(cmd, argument)

Check if the given cmd and argument can be run successfully

find_deps(pkgs, dep_tree)

Recursively resolve dependencies of the given package(s) and return them

get_dep_tree(package_spec, verbose)

Get the dep-tree for installing the given Python package spec

run_cmd(arguments, action_desc, capture_stderr=True, **kwargs)

Run the command and return the return code and output

run_in_venv(cmd, venv_path, action_desc)

Run the given command in the virtualenv at the given path

temporary_directory(*args, **kwargs)

Resource wrapper over tempfile.mkdtemp