]> git.proxmox.com Git - mirror_ifupdown2.git/commit
distutils: fix dependency and lib replacement
authorAdrien Banlin <a.banlin@alphalink.fr>
Tue, 31 May 2022 12:57:12 +0000 (14:57 +0200)
committerAdrien Banlin <a.banlin@alphalink.fr>
Tue, 31 May 2022 12:57:12 +0000 (14:57 +0200)
commit793fb44ab00b78ff56f55331fda479161f1d6eba
tree879122a3d01632ebf8d5256be1c3a30d06155f0a
parent6bcb49088bea79245a2a69caf038713ae3f0d01f
distutils: fix dependency and lib replacement

As of now, the distutils is deprecated with removal planned for
python 3.12.

The recommended way is to use setuptools which is an enhanced
alternative to distutils maintained by the python packaging authority.

This commit replace with setuptools the distutil import inserted in the
8126ef0c00eb8e2faae2cf1ca9fbaf25c10582cd commit.

This commit also update the debian control runtime dependency.

distutils: https://docs.python.org/3/library/distutils.html
setuptools: https://setuptools.pypa.io/en/latest/
debian/control
ifupdown2/addons/address.py