Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | Switch to setuptools as distutils is deprecated. |
| 2 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | Upstream-Status: Backport [https://pagure.io/sanlock/c/75758fc10db2354dda397d3aba63c7b72a420982] |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 4 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 5 | |
| 6 | diff --git a/python/setup.py b/python/setup.py |
| 7 | index 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', |