Skip to content

Commit

Permalink
SSSDConfig: use 'setuptools' instead of 'distutils'
Browse files Browse the repository at this point in the history
The Python standard library distutils module will be removed from Python 3.12+

Reviewed-by: Alexey Tikhonov <[email protected]>
Reviewed-by: Justin Stephenson <[email protected]>
  • Loading branch information
alexey-tikhonov committed Sep 27, 2023
1 parent e570930 commit 9efd79b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/sssd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: python3-devel
BuildRequires: (python3-setuptools if python3 >= 3.12)
BuildRequires: python3-setuptools
BuildRequires: samba-devel
# required for idmap_sss.so
BuildRequires: samba-winbind
Expand Down
4 changes: 2 additions & 2 deletions src/config/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#

"""
Python-level packaging using distutils.
Python-level packaging using setuptools.
"""

from distutils.core import setup
from setuptools import setup

setup(
name='SSSDConfig',
Expand Down

0 comments on commit 9efd79b

Please sign in to comment.