Skip to content
Permalink
Browse files
fix wrong identification of python 3.10 as python 3.1 (#42799)
  • Loading branch information
basilrabi committed Apr 15, 2021
1 parent 607f819 commit 31bbdcfef6138a9a006c55cd992ea7acbe5cd38b
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/FindLibPython.py
@@ -34,7 +34,7 @@
import distutils.sysconfig

print("exec_prefix:%s" % sys.exec_prefix)
print("short_version:%s" % sys.version[:3])
print("short_version:%d.%d" % sys.version_info[:2])
print("long_version:%s" % sys.version.split()[0])
print("py_inc_dir:%s" % distutils.sysconfig.get_python_inc())
print("site_packages_dir:%s" % distutils.sysconfig.get_python_lib(plat_specific=1))

0 comments on commit 31bbdcf

Please sign in to comment.