(self, environment=None, file_type=None)
return all_paths - req_paths
Returns the list of file paths which are NOT required for an environment.

    Figure out the files we need for an environment and reduce that by the
    kind of files (if we only want source or binary), then invert that list
    w.r.t. all the files mentioned in the features requirements list.

    The rationale for this function is to make it easy to find the set of
    files which should be stripped from a download, while leaving all files
    not explicitly mentioned in the features.

    Args:
      environment: (str) An environment (as per platforms.PLATFORMS). If None,
          return have the optional packages list include everything that is
          not requried.
      file_type: (str) If specified, only extract paths for that file type.
    Returns:
      list(str): The paths which are NOT required for that platform
Returns the list of file paths which are NOT required for an environment.
Returns the list of file paths which are NOT required for an environment .
def FilePathsWeDoNotDependOn(self, environment=None, file_type=None):
    """Returns the list of file paths which are NOT required for an environment.

    Figure out the files we need for an environment and reduce that by the
    kind of files (if we only want source or binary), then invert that list
    w.r.t. all the files mentioned in the features requirements list.

    The rationale for this function is to make it easy to find the set of
    files which should be stripped from a download, while leaving all files
    not explicitly mentioned in the features.

    Args:
      environment: (str) An environment (as per platforms.PLATFORMS). If None,
          return have the optional packages list include everything that is
          not requried.
      file_type: (str) If specified, only extract paths for that file type.
    Returns:
      list(str): The paths which are NOT required for that platform
    """
    if not environment and not file_type:  # quick exit for common case
      return []
    req, _, _ = self.DependenciesForEnvironment(environment=environment)
    req_paths = self.ExtractPathsFromDependencies(req, file_type=file_type)
    all_paths = self.AllDependencyPaths()
    return all_paths - req_paths
def FilePathsWeDoNotDependOn ( self , environment = None , file_type = None ) : if not environment and not file_type : # quick exit for common case return [ ] req , _ , _ = self . DependenciesForEnvironment ( environment = environment ) req_paths = self . ExtractPathsFromDependencies ( req , file_type = file_type ) all_paths = self . AllDependencyPaths ( ) return all_paths - req_paths