summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-extended/sanlock/sanlock/setuptools.patch
blob: bc2c68c1c579e48cfb7cd835ae577541c59f0173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Switch to setuptools as distutils is deprecated.

Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/python/setup.py b/python/setup.py
index b3bfaf1..dfbaf21 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -4,7 +4,7 @@
 # modify, copy, or redistribute it subject to the terms and conditions
 # of the GNU General Public License v.2.
 
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
 
 sanlocklib = ['sanlock']
 sanlock = Extension(name='sanlock',