parameters: (distribution)
docstring: update package_data to catch changes during setup
docstring_summary: update package_data to catch changes during setup
docstring_tokens: update package_data to catch changes during setup
function: def update_package_data(distribution):
      """update package_data to catch changes during setup"""
      build_py = distribution.get_command_obj('build_py')
      distribution.package_data = find_package_data()
      # re-init build_py options which load package_data
      build_py.finalize_options()
function_tokens: def update_package_data ( distribution ) : build_py = distribution . get_command_obj ( 'build_py' ) distribution . package_data = find_package_data ( ) # re-init build_py options which load package_data build_py . finalize_options ( )