From ef0255e96edbfe1a2e2c8b742681952d58e5b896 Mon Sep 17 00:00:00 2001 From: Tiago Pereira <1014003+tiagopereira@users.noreply.github.com> Date: Wed, 29 May 2024 12:50:18 +0100 Subject: [PATCH] [FIX] removed distutils for python 3.12 compatibility --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index a9a25204..bb7973ae 100644 --- a/setup.py +++ b/setup.py @@ -5,9 +5,7 @@ import numpy from Cython.Build import cythonize -from numpy.distutils import fcompiler -from numpy.distutils.core import setup -from numpy.distutils.extension import Extension +from setuptools.extension import Extension try: # Recommended for setuptools 61.0.0+