blob: c375e10f7546554cd59dc64512f4f460b39d54cd [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001Switch to setuptools as distutils is deprecated.
2
Andrew Geissler9aee5002022-03-30 16:27:02 +00003Upstream-Status: Backport [https://pagure.io/sanlock/c/75758fc10db2354dda397d3aba63c7b72a420982]
Andrew Geissler595f6302022-01-24 19:11:47 +00004Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6diff --git a/python/setup.py b/python/setup.py
7index b3bfaf1..dfbaf21 100644
8--- a/python/setup.py
9+++ b/python/setup.py
10@@ -4,7 +4,7 @@
11 # modify, copy, or redistribute it subject to the terms and conditions
12 # of the GNU General Public License v.2.
13
14-from distutils.core import setup, Extension
15+from setuptools import setup, Extension
16
17 sanlocklib = ['sanlock']
18 sanlock = Extension(name='sanlock',