summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-extended/sanlock/sanlock/setuptools.patch
blob: c375e10f7546554cd59dc64512f4f460b39d54cd (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: Backport [https://pagure.io/sanlock/c/75758fc10db2354dda397d3aba63c7b72a420982]
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',