parameters: (self)
docstring: 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.
docstring_summary: 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.
docstring_tokens: 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 .
function: 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()
function_tokens: def get_file_list ( self ) : # 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 ( )