Skip to contentSkip to conversation

dtoc: Switch to setuptools

PATCH In review Tom Rini 1 participant 2 messages Feb 12, 2025 – Feb 21, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 dtoc: Switch to setuptools

With the distutils module having been removed with Python 3.12, switch to using setuptools instead.

---
Cc: Simon Glass <[email protected]>

---
 tools/dtoc/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/dtoc/setup.py +1 -1
index 5e092fe0872a..ae9ad043b013 100644
@@ -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+',
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

With the distutils module having been removed with Python 3.12, switch to using setuptools instead.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom