python-site-packages-dir-0.9.1.patch

Patch to install python bindings in site-arch dir - silfreed -, 2008-04-22 10:00 AM

Download (593 Bytes)

View differences:

qgis-0.9.1/python/CMakeLists.txt 2008-01-29 09:21:36.000000000 -0500
76 76

  
77 77
# python's site-packages dir: bindings will be installed here
78 78
IF (UNIX)
79
  SET (CMD "
80
import sys
81
v = sys.version_info
82
print sys.exec_prefix + '/lib/python' + str(v[0]) + '.' + str(v[1]) + '/site-packages'
83
")
79
  SET (CMD "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
84 80
ELSE (UNIX)
85 81
  SET (CMD "
86 82
import sys