dtoc: Switch to setuptools
authorTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 22:23:46 +0000 (16:23 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 21 Feb 2025 14:24:08 +0000 (08:24 -0600)
With the distutils module having been removed with Python 3.12, switch
to using setuptools instead.

Signed-off-by: Tom Rini <trini@konsulko.com>
tools/dtoc/setup.py

index 5e092fe..ae9ad04 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-from distutils.core import setup
+from setuptools import setup
 setup(name='dtoc',
       version='1.0',
       license='GPL-2.0+',