Skip to content

Commit

Permalink
Applied Ticket #1049: python-site-packages-dir-0.9.1.patch
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8749 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 10, 2008
1 parent e351f88 commit bec1f5e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit bec1f5e

Please sign in to comment.