i += 1 #end #end if arg != []: arg.insert(0, 'build') sys.argv[1:1] = arg #end #end if sys.argv[1] == 'compilers': del sys.argv[1] from numpy.distutils.fcompiler import show_fcompilers show_fcompilers() print('\n') from numpy.distutils.ccompiler import show_compilers show_compilers() sys.exit() #end class build_opt(build_ext): def build_extension(self, ext): try: build_ext.build_extension(self, ext) except: self.announce('*** WARNING: Building of optimizer "%s" ' 'failed: %s' % (ext.name, sys.exc_info()[1])) #end #end
i += 1 #end #end if arg != []: arg.insert(0,'build') sys.argv[1:1] = arg #end #end if sys.argv[1] == 'compilers': del sys.argv[1] from numpy.distutils.fcompiler import show_fcompilers show_fcompilers() print('\n') from numpy.distutils.ccompiler import show_compilers show_compilers() sys.exit() #end class build_opt(build_ext): def build_extension(self, ext): try: build_ext.build_extension(self, ext) except: self.announce('*** WARNING: Building of optimizer "%s" ' 'failed: %s' %(ext.name, sys.exc_info()[1])) #end #end #end