From 5376127a9774307cd37d802cc2bfe45c87961a03 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 20 Oct 2008 07:25:08 +0000 Subject: Moved here svn path=/trunk/KDE/kdelibs/; revision=873794 --- modules/FindLibPython.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/FindLibPython.py (limited to 'modules/FindLibPython.py') diff --git a/modules/FindLibPython.py b/modules/FindLibPython.py new file mode 100644 index 00000000..4deabb9e --- /dev/null +++ b/modules/FindLibPython.py @@ -0,0 +1,11 @@ +# Copyright (c) 2007, Simon Edwards +# 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)) -- cgit v1.2.1 From 87c903a8e853eec433860818a01040da8d1c5f1a Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 4 Jan 2009 15:39:53 +0000 Subject: -add missing copyright notices, I hope I got it right -also a few empty lines here and there to make it look nicer Alex svn path=/trunk/KDE/kdelibs/; revision=905547 --- modules/FindLibPython.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/FindLibPython.py') diff --git a/modules/FindLibPython.py b/modules/FindLibPython.py index 4deabb9e..ec21b338 100644 --- a/modules/FindLibPython.py +++ b/modules/FindLibPython.py @@ -1,6 +1,8 @@ + # Copyright (c) 2007, Simon Edwards # 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 -- cgit v1.2.1