diff --git a/setup.py b/setup.py index fe677f15..aade4514 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def build_extension(self, ext: Extension): class BdistWheel(bdist_wheel): def get_tag(self): python, abi, platform = super().get_tag() - if python.startswith("cp"): + if python.startswith("cp") and not get_config_var("Py_GIL_DISABLED"): python, abi = "cp310", "abi3" return python, abi, platform