code: def update_package_files(srcdir, extensions, package_data, packagenames,
                           package_dirs):
      
  
      info = get_package_info(srcdir)
      extensions.extend(info['ext_modules'])
      package_data.update(info['package_data'])
      packagenames = list(set(packagenames + info['packages']))
      package_dirs.update(info['package_dir'])
docs: This function is deprecated and maintained for backward compatibility
      with affiliated packages.  Affiliated packages should update their
      setup.py to use `get_package_info` instead.