With the distutils module having been removed with Python 3.12, switch to using setuptools instead. Signed-off-by: Tom Rini <trini@konsulko.com>
Allow dtoc to be installed by adding a suitable setup.py script. Signed-off-by: Simon Glass <sjg@chromium.org>