#NEWLINE# def install_scripts( distributions ) : #NEWLINE# #INDENT# '\n    Regenerate the entry_points console_scripts for the named distribution.\n    ' #NEWLINE# try : #NEWLINE# #INDENT# from setuptools.command import easy_install #NEWLINE# import pkg_resources #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# raise RuntimeError ( "'wheel install_scripts' needs setuptools." ) #NEWLINE# #UNINDENT# for dist in distributions : #NEWLINE# #INDENT# pkg_resources_dist = pkg_resources . get_distribution ( dist ) #NEWLINE# install = wheel . paths . get_install_command ( distributions ) #NEWLINE# command = easy_install . easy_install ( install . distribution ) #NEWLINE# command . args = [ 'wheel' ] #NEWLINE# command . finalize_options ( ) #NEWLINE# command . install_egg_scripts ( pkg_resources_dist )