~telepathy-kde/telepathy-kde/telepathy-logger-qt

« back to all changes in this revision

Viewing changes to cmake/modules/FindLibPython.py

  • Committer: Alexander Akulich
  • Date: 2019-10-03 20:28:29 UTC
  • Revision ID: git-v1:cae0e0254e88899e83bc707a6caf69e7b414aa46
CMake: Remove own FindPython modules, use standard FindPython3 instead

Summary:
- Do not rename PYTHON_EXECUTABLE variable to give a room for Python4 update.

This revision depends on D24065.

Test Plan: Configure and build in a clean environment.

Reviewers: #kde_telepathy, davidedmundson, apol, heikobecker

Reviewed By: apol, heikobecker

Tags: #kde_telepathy

Differential Revision: https://phabricator.kde.org/D24066

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
2
 
# Redistribution and use is allowed according to the terms of the BSD license.
3
 
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
4
 
 
5
 
import sys
6
 
import distutils.sysconfig
7
 
 
8
 
print("exec_prefix:%s" % sys.exec_prefix)
9
 
print("short_version:%s" % sys.version[:3])
10
 
print("long_version:%s" % sys.version.split()[0])
11
 
print("py_inc_dir:%s" % distutils.sysconfig.get_python_inc())
12
 
print("site_packages_dir:%s" % distutils.sysconfig.get_python_lib(plat_specific=1))