parameters: (self, build_dir)
return_statement: return sorted(dep_dirs)
docstring: Return a list of all directories that need to be added to $PATH to ensure
          that library dependencies can be found correctly.  This is computed by scanning
          binaries to determine exactly the right list of dependencies.
  
          The compute_dependency_paths_fast() is a alternative function that runs faster
          but may return additional extraneous paths.
docstring_summary: Return a list of all directories that need to be added to $PATH to ensure
          that library dependencies can be found correctly.  This is computed by scanning
          binaries to determine exactly the right list of dependencies.
docstring_tokens: Return a list of all directories that need to be added to $PATH to ensure that library dependencies can be found correctly . This is computed by scanning binaries to determine exactly the right list of dependencies .
function: def compute_dependency_paths(self, build_dir):
          """Return a list of all directories that need to be added to $PATH to ensure
          that library dependencies can be found correctly.  This is computed by scanning
          binaries to determine exactly the right list of dependencies.
  
          The compute_dependency_paths_fast() is a alternative function that runs faster
          but may return additional extraneous paths.
          """
          dep_dirs = set()
          # Find paths by scanning the binaries.
          for dep in self.find_all_dependencies(build_dir):
              dep_dirs.add(os.path.dirname(dep))
  
          dep_dirs.update(self.read_custom_dep_dirs(build_dir))
          return sorted(dep_dirs)
function_tokens: def compute_dependency_paths ( self , build_dir ) : dep_dirs = set ( ) # Find paths by scanning the binaries. for dep in self . find_all_dependencies ( build_dir ) : dep_dirs . add ( os . path . dirname ( dep ) ) dep_dirs . update ( self . read_custom_dep_dirs ( build_dir ) ) return sorted ( dep_dirs )