in setup.py [0:0]
def run(self):
if shutil.which('cmake') is None:
raise RuntimeError(
"CMake >= 3.16 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)