Commit 032a387
committed
configure: replace deprecated distutils with sysconfig for Python 3.12+
distutils was removed in Python 3.12. The configure check was using
distutils.sysconfig solely to verify Python development headers exist.
Replace with the sysconfig stdlib module (available since Python 3.2)
using sysconfig.get_path('include') in place of get_python_inc().1 parent 925f4df commit 032a387
2 files changed
Lines changed: 2364 additions & 1915 deletions
0 commit comments