This is an automated email from the git hooks/post-receive script.
nsoffer pushed a commit to branch master in repository sanlock.
The following commit(s) were added to refs/heads/master by this push: new 75758fc python: Replace distutils with setuptools 75758fc is described below
commit 75758fc10db2354dda397d3aba63c7b72a420982 Author: Nir Soffer nsoffer@redhat.com AuthorDate: Fri Jan 14 20:27:35 2022 +0200
python: Replace distutils with setuptools
distutils is deprecated since python 3.10 with removal planned for Python 3.12. The recommended replacement is setuptools.
https://docs.python.org/3.10/library/distutils.html
Fixes #6
Thanks: Ross Burton Signed-off-by: Nir Soffer nsoffer@redhat.com --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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',
sanlock-devel@lists.fedorahosted.org