#NEWLINE# def main( ) : #NEWLINE# #INDENT# 'Actually invoke setup() with the arguments we built above.' #NEWLINE# try : #NEWLINE# #INDENT# setup ( ** setup_args ) #NEWLINE# #UNINDENT# except BuildFailed : #NEWLINE# #INDENT# msg = "Couldn't install with extension module, trying without it..." #NEWLINE# exc = sys . exc_info ( ) [ 1 ] #NEWLINE# exc_msg = ( '%s: %s' % ( exc . __class__ . __name__ , exc . cause ) ) #NEWLINE# print ( ( '**\n** %s\n** %s\n**' % ( msg , exc ) ) ) #NEWLINE# del setup_args [ 'ext_modules' ] #NEWLINE# setup ( ** setup_args )