write_config module

write_config.check_python_api(name)[source]

Check if the required python module is present. :param name: Name of the python api. :return: True iff the api is present.

write_config.find_tool(name, path=None)[source]

Search for a tool with the given name. :param name: Tool name. :param path: Optional path to search recursively. :return: The location of the tool, and an empty string otherwise

write_config.get_initial_config(config, search_path)[source]
write_config.get_initial_dependencies_config(config)[source]
write_config.get_initial_web_config(config)[source]
write_config.is_executable(path)[source]

Check if the path is an executable. :param path: path. :return: True iff the path is an executable.

write_config.write_initial_config(search_path=None)[source]