| 72 | # The name must be the _single_ output extension from the CMake build. |
| 73 | # If you need multiple extensions, see scikit-build. |
| 74 | class CMakeExtension(Extension): |
| 75 | def __init__(self, name, sourcedir=""): |
| 76 | Extension.__init__(self, name, sources=[]) |
| 77 | self.sourcedir = os.path.abspath(sourcedir) |
| 78 | |
| 79 | |
| 80 | class CMakeBuild(build_ext): |