> For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils.
From: https://docs.python.org/dev/whatsnew/3.12.html#removed