18 Commits

Author SHA1 Message Date
Juergen E. Fischer
7ca2512a84 typo fix 2016-12-14 18:41:17 +01:00
Larry Shaffer
5df9cbc964 Remove Python framework options/finding for Mac; add Homebrew support
Instead of finding Python interpreter, library and framework on Mac,
rely upon the reported paths of the interpreter (executable) to decipher
whether a framework is being used, then ensure any such framework has
its versioned subdirectory Headers used for includes and the base
Python library used directly in linking. This removes ambiguity in
framework searching, allowing just the PYTHON_EXECUTABLE (user-defined
or from FindPythonInterp module) to control which Python is used.
2016-11-20 15:30:12 -07:00
Nyall Dawson
88e4410af1 Require Qt >= 5.5 2016-09-21 09:12:54 +10:00
Bas Couwenberg
81c5f25a7f Don't require Python 3 for Qt5.
Use separate ENABLE_PYTHON3 option for Python 3.
2016-03-16 10:55:49 +01:00
Matthias Kuhn
72764b2937 Simplfiy some python3 handling 2016-03-09 12:35:18 +01:00
Sebastian Dietrich
c9b75528af have CMake find Python library on Windows 2015-11-21 12:21:07 +01:00
Matthias Kuhn
0b6dd352c9 [py3] CMake updates to support Python3 and PyQt5 2015-11-16 07:42:47 +01:00
Matthias Kuhn
cd0eb05ded [py3] Some compatibility fixes for python 3 2015-10-24 13:47:32 +02:00
Jarl Friis
04bb461746 Finding python library on Ubuntu 14.04 64bit 2014-08-06 13:36:45 +02:00
Juergen E. Fischer
7ba1c4d632 fix retrieval of PYTHON_SITE_PACKAGES_DIR - broke debian builds 2013-09-13 23:05:16 +02:00
Marco Bernasocchi
b61b5b0f83 make honoring -DPYTHON_LIBRARY more solid.
as cmake --help-module FindPythonLibs states
If you'd like to specify the installation of Python to use, you should modify the following cache variables:

         PYTHON_LIBRARY             - path to the python library
         PYTHON_INCLUDE_PATH         - path to where Python.h is found

(please note it is PYTHON_INCLUDE_PATH  (deprecated) and not PYTHON_INCLUDE_DIR (new in 2.8) since we require cmake >= 2.6.2)
2013-09-10 02:23:02 +02:00
Tim Sutton
d2433c561d Revert "make cmake honor PYTHON_LIBRARY and find the default both in x86 (tested on ubuntu 12.10 64) and android "
This reverts commit f7f3e413b726024384235a3654d6b18d9ff073be.
2013-05-19 15:31:51 +02:00
Marco Bernasocchi
f7f3e413b7 make cmake honor PYTHON_LIBRARY and find the default both in x86 (tested on ubuntu 12.10 64) and android 2013-05-19 15:17:55 +02:00
Tim Sutton
cf928a5672 Revert "make cmake honor PYTHON_LIBRARY"
This reverts commit b3c6d38ffefa9db79932be234b010598a9664706.
2013-05-19 13:47:02 +02:00
Marco Bernasocchi
b3c6d38ffe make cmake honor PYTHON_LIBRARY 2013-04-23 18:26:18 +02:00
Larry Shaffer
d56b1c885f Add CMake option for custom Python framework on Mac 2012-12-22 15:37:14 -07:00
Larry Shaffer
e8edb950e4 Add CMake finds for QScintilla2 and Qsci module
- Needs testing on Windows platform
- Add QScintilla2 library version info to About dialog
- Add Mac bundling support for Qwt 6 framework and QScintilla2
- Fallback to sys or custom site-pkgs when looking for PyQt4 modules to Mac bundle
2012-10-22 20:45:14 -06:00
wonder
87c5348818 Native and faster compilation of python bindings (#2370)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 11:04:41 +00:00