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 58a13f3 commit 9ba6f66Copy full SHA for 9ba6f66
setup.py
@@ -22,8 +22,8 @@
22
LFLAGS = ''
23
24
allow_extensions = True
25
-if '__pypy__' in sys.builtin_module_names:
26
- print('NOTICE: C extensions disabled on PyPy (would be broken)!')
+if sys.implementation.name in ('pypy', 'graalpy'):
+ print('NOTICE: C extensions disabled on PyPy/GraalPy (would be broken)!')
27
allow_extensions = False
28
if os.environ.get('SETUPPY_FORCE_PURE'):
29
print('NOTICE: C extensions disabled (SETUPPY_FORCE_PURE)!')
0 commit comments