blob: 54a3c1867608bf8df9cf39f8945710184edf9030 [file] [log] [blame]
Andrew Geissler78b72792022-06-14 06:47:25 -05001From 7a4dde83a9584adb42c7f810d882b1fbf5767e2c Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <brgl@bgdev.pl>
3Date: Tue, 24 May 2022 21:43:35 +0200
4Subject: [PATCH] setup: use setuptools instead of distutils
5
6The latter is deprecated, use setuptools instead.
7
8Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
9---
10 setup.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/setup.py b/setup.py
14index 3fa3343..4900b8b 100644
15--- a/setup.py
16+++ b/setup.py
17@@ -3,7 +3,7 @@
18 import errno
19 import subprocess
20
21-from distutils.core import setup, Extension
22+from setuptools import setup, Extension
23
24 libudev_so = "libudev.so.1"
25
26--
272.34.1
28