'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.'

def get_file_list(self):

    template_exists = os.path.isfile(self.template)
    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()
