code: def strip_sdist_extras(filelist):
      
      return [name for name in filelist
              if not file_matches(name, IGNORE)
              and not file_matches_regexps(name, IGNORE_REGEXPS)]
docs: Strip generated files that are only present in source distributions.
  
      We also strip files that are ignored for other reasons, like
      command line arguments, setup.cfg rules or MANIFEST.in rules.