1 From 6610107a865ddaf988a29fe0f07ece05949a0c77 Mon Sep 17 00:00:00 2001
2 From: wxt <3264117476@qq.com>
3 Date: Wed, 30 Oct 2024 18:20:51 +0800
7 python/scikit-build-cmake/FindPythonExtensions.cmake | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
10 diff --git a/python/scikit-build-cmake/FindPythonExtensions.cmake b/python/scikit-build-cmake/FindPythonExtensions.cmake
11 index 59b30c2..d06c9ad 100644
12 --- a/python/scikit-build-cmake/FindPythonExtensions.cmake
13 +++ b/python/scikit-build-cmake/FindPythonExtensions.cmake
14 @@ -254,7 +254,7 @@ endif()
15 include(targetLinkLibrariesWithDynamicLookup)
18 -import distutils.sysconfig
23 @@ -266,7 +266,7 @@ rel_result = None
27 - candidate_lists.append((distutils.sysconfig.get_python_lib(),))
28 + candidate_lists.append((sysconfig.get_paths()['purelib'],))
29 except AttributeError: pass
32 @@ -293,7 +293,7 @@ sys.stdout.write(\";\".join((
36 - distutils.sysconfig.get_config_var('EXT_SUFFIX')
37 + sysconfig.get_config_var('EXT_SUFFIX')