def run()

in setup.py [0:0]


    def run(self):
        """Build a CMake project."""
        try:
            subprocess.check_output(['cmake', '--version'])
        except OSError:
            raise RuntimeError(
                "CMake must be installed to build the following extensions: "
                ", ".join(e.name for e in self.extensions))

        for ext in self.extensions:
            self.build_extension(ext)