Debian Codegraph @

debian/patches/0004-Replace-deprecated-distutils.patch

raw
1 From: YOKOTA Hiroshi <[email protected]>
2 Date: Mon, 15 Dec 2025 22:37:45 +0900
3 Subject: Replace deprecated distutils
4
5 Forwarded: not-needed
6
7 Use compatibility layer from setuptools
8 ---
9 setup.py | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/setup.py b/setup.py
13 index 6b053c0..ae6d896 100644
14 --- a/setup.py
15 +++ b/setup.py
16 @@ -1,7 +1,7 @@
17 import platform
18 import sys
19 import sysconfig
20 -from distutils.unixccompiler import UnixCCompiler
21 +import setuptools; from distutils.unixccompiler import UnixCCompiler
22 from pathlib import Path
23
24 from setuptools import Extension, setup