We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e8133 commit 2f21fe2Copy full SHA for 2f21fe2
setup.py
@@ -60,12 +60,13 @@ def get_ext_modules():
60
return ext_modules
61
62
63
+class CustomBuildExtension(BuildExtension):
64
+ def __init__(self, *args, **kwargs):
65
+ super().__init__(*args, no_python_abi_suffix=True, use_ninja=False, **kwargs)
66
+
67
68
def get_cmdclass():
- return {
- "build_ext": BuildExtension.with_options(
- no_python_abi_suffix=True, use_ninja=False
- )
- }
69
+ return {"build_ext": CustomBuildExtension}
70
71
72
requirements = ["torch>=1.1.0", "numba"]
0 commit comments