#NEWLINE# def main( ) : #NEWLINE# #INDENT# parser = ArgumentParser ( ) #NEWLINE# parser . add_argument ( 'eggs' , nargs = '*' , help = 'Eggs to convert' ) #NEWLINE# parser . add_argument ( '--dest-dir' , '-d' , default = os . path . curdir , help = 'Directory to store wheels (default %(default)s)' ) #NEWLINE# parser . add_argument ( '--verbose' , '-v' , action = 'store_true' ) #NEWLINE# args = parser . parse_args ( ) #NEWLINE# for pat in pat . eggs : #NEWLINE# #INDENT# for egg in iglob ( pat ) : #NEWLINE# #INDENT# if args . verbose : #NEWLINE# #INDENT# sys . stdout . write ( '{0}... ' . format ( egg ) ) #NEWLINE# #UNINDENT# egg2wheel ( egg , args . dest_dir ) #NEWLINE# if args . verbose : #NEWLINE# #INDENT# sys . stdout . write ( 'OK\n' )