From e7d62a2190912edc53a94f9884801c2ed171becc Mon Sep 17 00:00:00 2001 From: timlinux Date: Thu, 10 Jul 2008 09:11:50 +0000 Subject: [PATCH] Applied Ticket #1049: python-site-packages-dir-0.9.1.patch git-svn-id: http://svn.osgeo.org/qgis/trunk@8749 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index ea24e7a8e53..ce110d57816 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -79,11 +79,7 @@ IF (BINDINGS_GLOBAL_INSTALL) # python's site-packages dir: bindings will be installed here IF (UNIX) - SET (CMD " -import sys -v = sys.version_info -print sys.exec_prefix + '/lib/python' + str(v[0]) + '.' + str(v[1]) + '/site-packages' -") + SET (CMD "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") ELSE (UNIX) SET (CMD " import sys