Blob Blame History Raw
From 0a061c4f0c0d8d7f4a859c4d5b8d7915d2fd7e52 Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Thu, 20 Jul 2023 11:31:10 -0400
Subject: [PATCH] Use old_build_ext for Cython 3 compatibility

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f4acd48..1304aef 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ except pkg_resources.ResolutionError:
 else:
     with_cython = True
     print('Development mode: Compiling Cython modules from .pyx sources.')
-    from Cython.Distutils import build_ext
+    from Cython.Distutils.old_build_ext import old_build_ext as build_ext
 
 
 class custom_build_ext(build_ext):
-- 
2.41.0