We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ee275ab commit e7d62a2Copy full SHA for e7d62a2
python/CMakeLists.txt
@@ -79,11 +79,7 @@ IF (BINDINGS_GLOBAL_INSTALL)
79
80
# python's site-packages dir: bindings will be installed here
81
IF (UNIX)
82
- SET (CMD "
83
-import sys
84
-v = sys.version_info
85
-print sys.exec_prefix + '/lib/python' + str(v[0]) + '.' + str(v[1]) + '/site-packages'
86
-")
+ SET (CMD "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
87
ELSE (UNIX)
88
SET (CMD "
89
import sys
0 commit comments