def _build_dependency_manager_no_config(kwargs):
 configure_logging(kwargs)
 root = find_root(kwargs)
 dependency_resolvers_config_file = find_path(kwargs, 'dependency_resolvers_config_file', root)
 (use_dependencies, tool_dependency_dir, use_cached_dependency_manager, tool_dependency_cache_dir, precache_dependencies) = parse_dependency_options(kwargs, root, dependency_resolvers_config_file)
 if (not use_dependencies):
  dependency_manager = NullDependencyManager()
 else:
  dependency_manager_kwds = {'default_base_path': tool_dependency_dir, 'conf_file': dependency_resolvers_config_file, 'app_config': kwargs}
  if use_cached_dependency_manager:
   dependency_manager_kwds['tool_dependency_cache_dir'] = tool_dependency_cache_dir
   dependency_manager = CachedDependencyManager(**dependency_manager_kwds)
  else:
   dependency_manager = DependencyManager(**dependency_manager_kwds)
 return dependency_manager

def _build_dependency_manager_no_config ( kwargs ) : configure_logging ( kwargs ) root = find_root ( kwargs ) dependency_resolvers_config_file = find_path ( kwargs , 'dependency_resolvers_config_file' , root ) ( use_dependencies , tool_dependency_dir , use_cached_dependency_manager , tool_dependency_cache_dir , precache_dependencies ) = parse_dependency_options ( kwargs , root , dependency_resolvers_config_file ) if ( not use_dependencies ) : dependency_manager = NullDependencyManager ( ) else : dependency_manager_kwds = { 'default_base_path' : tool_dependency_dir , 'conf_file' : dependency_resolvers_config_file , 'app_config' : kwargs } if use_cached_dependency_manager : dependency_manager_kwds [ 'tool_dependency_cache_dir' ] = tool_dependency_cache_dir dependency_manager = CachedDependencyManager ( ** dependency_manager_kwds ) else : dependency_manager = DependencyManager ( ** dependency_manager_kwds ) return dependency_manager
simplified variant of build_dependency_manager from galaxy .