class_docstr: Enhanced 'build_py' command that includes data files with packages
  
  The data files are specified via a 'package_data' argument to 'setup()'.
  See 'setuptools.dist.Distribution' for more details.
  
  Also, this version of the 'build_py' command allows you to specify both
  'py_modules' and 'packages' in the same setup operation.
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))
              srcfile = os.path.join(src_dir, filename)
              outf, copied = self.copy_file(srcfile, target)
              srcfile = os.path.abspath(srcfile)
              if (
                  copied
                  and srcfile in self.distribution.convert_2to3_doctests
              ):
                  self.__doctests_2to3.append(outf)
  
imports: from glob import glob
  from distutils.util import convert_path
  import distutils.command.build_py
  import os
  import fnmatch
  import textwrap
  import io
  import distutils.errors
  import itertools
  from setuptools.extern import six
  from setuptools.extern.six.moves import map, filter, filterfalse
label_desc: Use image node_id 8 for calling the build_py obj's underlying member method code with example usage: obj.build_package_data() without return types