def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def finalize_options(self):
    self.set_undefined_options('install',
                               ('install_headers', 'install_dir'),
                               ('force', 'force'))