blob: 6aafd6a95223948824b09bff49202318d43edcf6 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001Upstream-Status: Submitted [https://lore.kernel.org/linux-i2c/20220114134910.3994688-1-ross.burton@arm.com/T/#u]
2Signed-off-by: Ross Burton <ross.burton@arm.com>
3
4From fa522a9a390b1857a58ec1f55da1465c542fd106 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@arm.com>
6Date: Fri, 14 Jan 2022 13:38:34 +0000
7Subject: [PATCH] Use setuptools as distutils is deprecated
8
9Signed-off-by: Ross Burton <ross.burton@arm.com>
10---
11 py-smbus/setup.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/py-smbus/setup.py b/py-smbus/setup.py
15index 28a4500..26db33a 100644
16--- a/py-smbus/setup.py
17+++ b/py-smbus/setup.py
18@@ -1,6 +1,6 @@
19 #!/usr/bin/env python
20
21-from distutils.core import setup, Extension
22+from setuptools import setup, Extension
23
24 setup( name="smbus",
25 version="1.1",