docstr: Figure out the list of files to include in the source
  distribution, and put it in 'self.filelist'.  This might involve
  reading the manifest template (and writing the manifest), or just
  reading the manifest, or just using the default file set -- it all
  depends on the user's options.
code: def get_file_list(self):
      """Figure out the list of files to include in the source
      distribution, and put it in 'self.filelist'.  This might involve
      reading the manifest template (and writing the manifest), or just
      reading the manifest, or just using the default file set -- it all
      depends on the user's options.
      """
      # new behavior when using a template:
      # the file list is recalculated every time because
      # even if MANIFEST.in or setup.py are not changed
      # the user might have added some files in the tree that
      # need to be included.
      #
      #  This makes --force the default and only behavior with templates.
      template_exists = os.path.isfile(self.template)
      if not template_exists and self._manifest_is_not_generated():
          self.read_manifest()
          self.filelist.sort()
          self.filelist.remove_duplicates()
          return
  
      if not template_exists:
          self.warn(
              (
                  "manifest template '%s' does not exist "
                  + "(using default file list)"
              )
              % self.template
          )
      self.filelist.findall()
  
      if self.use_defaults:
          self.add_defaults()
  
      if template_exists:
          self.read_template()
  
      if self.prune:
          self.prune_file_list()
  
      self.filelist.sort()
      self.filelist.remove_duplicates()
      self.write_manifest()
  
imports: import os
  import sys
  from glob import glob
  from warnings import warn
  from ..core import Command
  from distutils import dir_util
  from distutils import file_util
  from distutils import archive_util
  from ..text_file import TextFile
  from ..filelist import FileList
  from distutils._log import log
  from ..util import convert_path
  from ..errors import DistutilsOptionError, DistutilsTemplateError
label_desc: Use image node_id 6 for calling the sdist obj's underlying member method code with example usage: obj.get_file_list() without return types