code: def get_source_files(self):
      self.check_library_list(self.libraries)
      filenames = []
      for lib_name, build_info in self.libraries:
          sources = build_info.get("sources")
          if sources is None or not isinstance(sources, (list, tuple)):
              raise DistutilsSetupError(
                  "in 'libraries' option (library '%s'), "
                  "'sources' must be present and must be "
                  "a list of source filenames" % lib_name
              )
  
          filenames.extend(sources)
      return filenames
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/command/build_clib.py
imports: import os
  from ..core import Command
  from ..errors import DistutilsSetupError
  from ..sysconfig import customize_compiler
  from distutils._log import log
label_desc: Use image node_id 6 for calling the build_clib obj's underlying member method code with example usage: obj.get_source_files() and returns: filenames