1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Stefano Rivera <stefanor@debian.org>
Date: Wed, 13 Nov 2024 14:32:44 +0100
Subject: Use setuptools in demo
distutils was removed in Python 3.12
Forwarded: https://sourceforge.net/p/cxx/patches/31/
Bug-Debian: https://bugs.debian.org/1059635
---
Demo/Python3/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Demo/Python3/setup.py b/Demo/Python3/setup.py
index c42f853..ec40b26 100644
--- a/Demo/Python3/setup.py
+++ b/Demo/Python3/setup.py
@@ -36,7 +36,7 @@
#-----------------------------------------------------------------------------
import os, sys
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
support_dir = os.path.normpath(
os.path.join(
|