bind9/bin
Michał Kępień 1f4667061f Use setuptools instead of distutils if possible
According to PEP 632 [1], the distutils module is considered deprecated
in Python 3.10 and will be removed in Python 3.12.  Setup scripts
using it should be migrated to the setuptools module, which contains
drop-in replacements for distutils functions [2].  The catch is that the
setuptools module is not part of the Python Standard Library.

While this problem could be addressed by adding a hard dependency on
setuptools, it only affects BIND 9.16, which is an Extended Support
Version.  To avoid unnecessary disruptions, try importing setup() from
the setuptools module and fall back to using distutils if that fails.
Add a PyLint suppression for this specific "deprecated-module" warning.

Since the setuptools module is not part of the Python Standard Library
and therefore it is not guaranteed that it is universally available in
every Python installation, update Python-related checks in configure.ac
to ensure Python module installation does not silently fail.

[1] https://peps.python.org/pep-0632/
[2] https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
2022-04-22 12:36:57 +02:00
..
check Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
confgen Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
delv Remove UNREACHABLE() statements after exit() 2022-03-25 10:08:39 +01:00
dig Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
dnssec Remove use of the inline keyword used as suggestion to compiler 2022-03-25 09:37:18 +01:00
named Rename the configuration option to load balance sockets to reuseport 2022-04-06 17:51:12 +02:00
nsupdate Remove use of the inline keyword used as suggestion to compiler 2022-03-25 09:37:18 +01:00
pkcs11 Add couple missing braces around single-line statements 2022-03-17 18:31:36 +01:00
plugins Make isc_ht_init() and isc_ht_iter_create() return void 2022-03-08 20:20:52 +01:00
python Use setuptools instead of distutils if possible 2022-04-22 12:36:57 +02:00
rndc Add FALLTHROUGH macro for __attribute__((fallthrough)) 2022-03-25 09:30:16 +01:00
tests Check that pending negative cache entries for DS can be used successfully 2022-04-19 09:45:16 +10:00
tools Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
win32/BINDInstall Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00