def update_package_data(distribution):
    'update build_py options to get package_data changes'
    build_py = distribution.get_command_obj('build_py')
    build_py.finalize_options()
update build_py options to get package_data changes
def update_package_data(distribution):
    
    build_py = distribution.get_command_obj('build_py')
    build_py.finalize_options()