(self, new_compiler_dir)
Set the compiler location, must be full path to an existing file.
Set the compiler location, must be full path to an existing file.
Set the compiler location must be full path to an existing file .
def set_compiler_dir_from_file(self, new_compiler_dir):
        """Set the compiler location, must be full path to an existing file."""
        if os.path.exists(new_compiler_dir):
            self.__compiler_dir = new_compiler_dir
        else:
            print('The provided compiler path in the settings file is not '
                  'valid:')
            print('\t%s' % new_compiler_dir)
            self.set_compiler_dir_default()
            print('Default compiler path set:\n\t%s' % self.__compiler_dir)
def set_compiler_dir_from_file ( self , new_compiler_dir ) : if os . path . exists ( new_compiler_dir ) : self . __compiler_dir = new_compiler_dir else : print ( 'The provided compiler path in the settings file is not ' 'valid:' ) print ( '\t%s' % new_compiler_dir ) self . set_compiler_dir_default ( ) print ( 'Default compiler path set:\n\t%s' % self . __compiler_dir )