parameters: (self)
docstring: Copy data files into build directory
docstring_summary: Copy data files into build directory
docstring_tokens: Copy data files into build directory
function: def build_package_data(self):
          """Copy data files into build directory"""
          lastdir = None
          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)
function_tokens: def build_package_data ( self ) : lastdir = None 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 )