def process_kwargs(self, kwargs):
    if ('build_by_default' in kwargs):
        self.build_by_default = kwargs['build_by_default']
        if (not isinstance(self.build_by_default, bool)):
            raise InvalidArguments('build_by_default must be a boolean value.')
    elif kwargs.get('install', False):
        self.build_by_default = True
    self.option_overrides = self.parse_overrides(kwargs)
def process_kwargs(self, kwargs):
    if ('build_by_default' in kwargs):
        self.build_by_default = kwargs['build_by_default']
        if (not isinstance(self.build_by_default, bool)):
            raise InvalidArguments('build_by_default must be a boolean value.')
    elif kwargs.get('install', False):
        self.build_by_default = True
    self.option_overrides = self.parse_overrides(kwargs)