]> git.ipfire.org Git - thirdparty/nftables.git/commit
py: replace distutils with setuptools
authorJose M. Guisado Gomez <guigom@riseup.net>
Wed, 22 Feb 2023 10:20:55 +0000 (11:20 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Sep 2025 20:33:57 +0000 (22:33 +0200)
commit5f3f45bd337f7f335186ec77acc4089d15b8a614
tree29f96a75e641dbc81dc1c7033dbec86d58d87671
parent6af2a8687c1816b5b7a5cdfb668731bef59f46d4
py: replace distutils with setuptools

commit 1acc2fd48c755a8931fa87b8d0560b750316059f upstream.

Removes a deprecation warning when using distutils and python >=3.10.

Python distutils module is formally marked as deprecated since python
3.10 and will be removed from the standard library from Python 3.12.
(https://peps.python.org/pep-0632/)

From https://setuptools.pypa.io/en/latest/setuptools.html

"""
Packages built and distributed using setuptools look to the user like
ordinary Python packages based on the distutils.
"""

Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
py/setup.py