(distribution)
update package_data to catch changes during setup
update package_data to catch changes during setup
update package_data to catch changes during setup
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()
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 ( )