()
| 137 | |
| 138 | |
| 139 | def get_cmds(): |
| 140 | cmds = versioneer.get_cmdclass() |
| 141 | |
| 142 | if not (BUILD_CPP or BUILD_CUDA): |
| 143 | return cmds |
| 144 | |
| 145 | cmds.update({"build_ext": BuildExtension.with_options(no_python_abi_suffix=True)}) |
| 146 | return cmds |
| 147 | |
| 148 | |
| 149 | # Gathering source used for JIT extensions to include in package_data. |