docstr: Return filenames for package's data files in 'src_dir'
docstr_tok: ["Return","filenames","for","package","'s","data","files","in","'src_dir","'"]
code: def find_data_files(self, package, src_dir):
      """Return filenames for package's data files in 'src_dir'"""
      globs = self.package_data.get("", []) + self.package_data.get(
          package, []
      )
      files = []
      for pattern in globs:
          # Each pattern has to be converted to a platform-specific path
          filelist = glob.glob(
              os.path.join(glob.escape(src_dir), convert_path(pattern))
          )
          # Files that match more than one pattern are only added once
          files.extend(
              [
                  fn
                  for fn in filelist
                  if fn not in files and os.path.isfile(fn)
              ]
          )
      return files
  
imports: import os
  import importlib.util
  import sys
  import glob
  from distutils.core import Command
  from distutils.errors import *
  from distutils.util import convert_path, Mixin2to3
  from distutils import log
label_desc: Use image node_id 5 for calling the build_py obj's underlying member method code with example usage: obj.find_data_files(package, src_dir) and returns: files