def set_options(self, options):
self.verbosity = int(options.get('<STR_LIT>'))<EOL>self.gzip = getattr(settings, '<STR_LIT>', False)<EOL>self.gzip_content_types = getattr(<EOL>settings,<EOL>'<STR_LIT>',<EOL>DEFAULT_GZIP_CONTENT_TYPES<EOL>)<EOL>self.acl = getattr(settings, '<STR_LIT>', self.DEFAULT_ACL)<EOL>self.cache_control = getattr(settings, '<STR_LIT>', {})<EOL>if options.get('<STR_LIT>'):<EOL><INDENT>if not os.path.exists(options.get('<STR_LIT>')):<EOL><INDENT>raise CommandError(self.build_missing_msg)<EOL><DEDENT>self.build_dir = options.get("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>if not hasattr(settings, '<STR_LIT>'):<EOL><INDENT>raise CommandError(self.build_unconfig_msg)<EOL><DEDENT>if not os.path.exists(settings.BUILD_DIR):<EOL><INDENT>raise CommandError(self.build_missing_msg)<EOL><DEDENT>self.build_dir = settings.BUILD_DIR<EOL><DEDENT>if options.get("<STR_LIT>"):<EOL><INDENT>self.aws_bucket_name = options.get("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>if not hasattr(settings, '<STR_LIT>'):<EOL><INDENT>raise CommandError(self.bucket_unconfig_msg)<EOL><DEDENT>self.aws_bucket_name = settings.AWS_BUCKET_NAME<EOL><DEDENT>self.aws_bucket_prefix = options.get("<STR_LIT>")<EOL>if options.get('<STR_LIT>'):<EOL><INDENT>self.force_publish = True<EOL><DEDENT>else:<EOL><INDENT>self.force_publish = False<EOL><DEDENT>if options.get('<STR_LIT>'):<EOL><INDENT>self.dry_run = True<EOL>if self.verbosity > <NUM_LIT:0>:<EOL><INDENT>logger.info("<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.dry_run = False<EOL><DEDENT>self.no_delete = options.get('<STR_LIT>')<EOL>self.no_pooling = options.get('<STR_LIT>')<EOL>
Configure all the many options we'll need to make this happen.