]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake/modules: avoid using distutils 45648/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 25 Mar 2022 15:06:46 +0000 (23:06 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 25 Mar 2022 15:49:12 +0000 (23:49 +0800)
commit637dd7b40404e644519b1fc3b5ef03f2d18def00
treea66c3281326bbaa84a1cc5b6c862f71f6f6a077f
parentf0fc04fbea3ec68d1cab321e016046e0b204def1
cmake/modules: avoid using distutils

to address following warning from python 3.9:

<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/Distutils.cmake
src/pybind/CMakeLists.txt