Open
Description
distutils
is already deprecated https://peps.python.org/pep-0632/ and should no longer be used.
[tkloczko@devel-g2v lldb-13.0.1.src]$ grep -r distutils
CMakeLists.txt: -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(True, False, ''))"
packages/Python/lldbsuite/test/decorators.py:from distutils.version import LooseVersion
packages/Python/lldbsuite/test/lldbtest.py:from distutils.version import LooseVersion
packages/Python/lldbsuite/test/lldbtest.py:import distutils.spawn
packages/Python/lldbsuite/test/lldbtest.py: path = distutils.spawn.find_executable("clang", lldb_dir)
test/API/tools/lldb-server/TestAppleSimulatorOSType.py: from distutils.version import LooseVersion
test/Shell/helper/build.py: from distutils.version import StrictVersion
test/Shell/helper/build.py: from distutils.version import LooseVersion
test/Shell/lit.cfg.py:from distutils.spawn import find_executable
third_party/Python/module/pexpect-4.6/setup.py:from distutils.core import setup