Add support for Python 3.12
Python 3.12 completely removed the builtin distutils
module. This
commit replaces its use with the packaging
package, which is an
external dependency, but maintained by the Python developers.
Python 3.12 completely removed the builtin distutils
module. This
commit replaces its use with the packaging
package, which is an
external dependency, but maintained by the Python developers.