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 cd8a2a4 commit 3995ef6Copy full SHA for 3995ef6
setup.py
@@ -41,7 +41,11 @@ class BuildIsalExt(build_ext):
41
def build_extension(self, ext):
42
if isinstance(ext, IsalExtension):
43
_add_extension_options(ext)
44
- super().build_extension(ext)
+ # Import cython here because it should be installed by setup requires.
45
+ from Cython.Build import cythonize
46
+ cythonized_module = cythonize(ext)[0]
47
+ setattr(cythonized_module, "_needs_stub", False)
48
+ super().build_extension(cythonized_module)
49
50
51
# Use a cache to prevent isa-l from being build twice. According to the
0 commit comments