mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
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
This commit is contained in:
parent
ee275abfb5
commit
e7d62a2190
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user