File: FindLibPython.py

package info (click to toggle)
telepathy-qt 0.9.7-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,000 kB
  • sloc: cpp: 74,497; xml: 34,294; ansic: 20,741; python: 3,983; sh: 118; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

import sys
import distutils.sysconfig

print("exec_prefix:%s" % sys.exec_prefix)
print("short_version:%s" % sys.version[:3])
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))