docstr: Copy data files into build directory
docstr_tok: ["Copy","data","files","into","build","directory"]
code: def build_package_data(self):
      """Copy data files into build directory"""
      for package, src_dir, build_dir, filenames in self.data_files:
          for filename in filenames:
              target = os.path.join(build_dir, filename)
              self.mkpath(os.path.dirname(target))
              self.copy_file(
                  os.path.join(src_dir, filename),
                  target,
                  preserve_mode=False,
              )
  
imports: import os
  import importlib.util
  import sys
  import glob
  from ..core import Command
  from ..errors import DistutilsOptionError, DistutilsFileError
  from ..util import convert_path
  from distutils._log import log
label_desc: Use image node_id 6 for calling the build_py obj's underlying member method code with example usage: obj.build_package_data() without return types