1From 3a72290ba7e2d71ca887225fc0eb8792ca863be2 Mon Sep 17 00:00:00 2001
2From: Jörg Thalheim <joerg@thalheim.io>
3Date: Tue, 24 Oct 2023 14:30:53 +0200
4Subject: [PATCH] python: drop deprecated distutils
5
6This is scheduled for removal in python 3.12: https://docs.python.org/3/whatsnew/3.12.html
7
8Change-Id: I728dc0cf4ed20f22016d3d58cca8aee3af2bcd8b
9Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
10---
11
12diff --git a/python/setup.py b/python/setup.py
13index 47e2104..ae4dff7 100755
14--- a/python/setup.py
15+++ b/python/setup.py
16@@ -2,8 +2,7 @@
17 # SPDX-License-Identifier: BSD-3-Clause
18 # Copyright (C) 2023 Intel Corporation. All rights reserved.
19
20-from distutils.core import setup
21-from setuptools import find_packages
22+from setuptools import setup, find_packages
23 from spdk import __version__
24
25