Skip to content
Permalink
Browse files
fix wrong identification of python 3.10 as python 3.1 (#42799)
  • Loading branch information
basilrabi authored and github-actions committed Apr 15, 2021
1 parent 8993604 commit 768948eaf036b86fc08a345bf79bc1a82b865400
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 768948e

Please sign in to comment.