patman: Switch to setuptools
authorSean Anderson <seanga2@gmail.com>
Sun, 27 Nov 2022 21:55:02 +0000 (16:55 -0500)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 02:21:56 +0000 (19:21 -0700)
distutils is about to meet its demise [1]. Switch to setuptools.

[1] https://peps.python.org/pep-0632/

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/setup.py

index 43fdc00..5643bf1 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-from distutils.core import setup
+from setuptools import setup
 setup(name='patman',
       version='1.0',
       license='GPL-2.0+',