From d0a784b68f0cc957a37ce761a5d9fee99297b6ae Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Mon, 23 Mar 2026 15:51:45 +0530 Subject: [PATCH] mark cython module as free-threading compatible --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bc28b50..3279165 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools.command.build_ext import build_ext as build_ext -CFLAGS = ['-O2'] +CFLAGS = ['-O2', '-DCYTHON_FREETHREADING_COMPATIBLE=1'] ROOT = pathlib.Path(__file__).parent