Skip to content

Commit 333c491

Browse files
committed
Skip C extension build on GraalPy
1 parent 65089ea commit 333c491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def build_extension(self, ext):
130130
except ValueError:
131131
pass
132132
ext_modules = []
133-
elif sys.platform.startswith("java") or sys.platform == "cli" or "PyPy" in sys.version:
133+
elif sys.platform.startswith("java") or sys.platform == "cli" or sys.implementation.name in ('pypy', 'graalpy'):
134134
sys.stdout.write(
135135
"""
136136
*****************************************************\n

0 commit comments

Comments
 (0)