1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 12 Oct 2024 20:18:40 +0100
Subject: build.py: Use setuptools instead of distutils
The distutils module is deprecated since Python 3.10.
See also
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
Forwarded: https://github.com/long2ice/asyncmy/pull/106
---
build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.py b/build.py
index 128df03..20a4b0f 100644
--- a/build.py
+++ b/build.py
@@ -1,4 +1,4 @@
-from distutils.command.build_ext import build_ext
+from setuptools.command.build_ext import build_ext
from Cython.Build import cythonize
|