Skip to content
Permalink
Browse files

fix wrong identification of python 3.10 as python 3.1 (#42799) (#42807)

Co-authored-by: Basil Eric Rabi <ericbasil.rabi@gmail.com>
  • Loading branch information
github-actions and basilrabi committed Apr 15, 2021
1 parent 8993604 commit 7abe30a812594c69b78f269c1e6573ac5d28788e
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 7abe30a

Please sign in to comment.