def METHOD_NAME(self):
    if self.options.shared:
        self.options.rm_safe("fPIC")
        self.options["trantor"].shared = True
    if not self.options.with_orm:
        del self.options.with_postgres
        del self.options.with_postgres_batch
        del self.options.with_mysql
        del self.options.with_sqlite
        del self.options.with_redis
    elif not self.options.with_postgres:
        del self.options.with_postgres_batch