Remove redundant code snippet that uses a deprecated lib. This patch removes the usage of distutils in the setup.py since distuitils has been removed in Python3.12. It also removes the distutils related code. This code checks if the setuptools version is greater than 30, which is not necessary because in debian unstable, the setuptools version is 75.