'Remove the local and S3 zip file after uploading and updating.'

def remove_uploaded_zip(self):

    if self.stage_config.get(u'delete_s3_zip', True):
        self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name)
        if self.stage_config.get(u'slim_handler', False):
            self.zappa.remove_from_s3(self.handler_path, self.s3_bucket_name)
