Skip to content

Commit 3147f7a

Browse files
committed
Avoid distutils
distutils has been deprecated for a long time and has finally been removed.
1 parent ed6a49a commit 3147f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ycm_extra_conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#
2929
# For more information, please refer to <http://unlicense.org/>
3030

31-
from distutils.sysconfig import get_python_inc
31+
from sysconfig import get_path
3232
import platform
3333
import os.path as p
3434
import subprocess
@@ -71,7 +71,7 @@
7171
'-isystem',
7272
'cpp/BoostParts',
7373
'-isystem',
74-
get_python_inc(),
74+
get_path( 'include' ),
7575
'-isystem',
7676
'cpp/llvm/include',
7777
'-isystem',

0 commit comments

Comments
 (0)