Commit Graph

27 Commits

Author SHA1 Message Date
Marc Chevrier da5fecfbf6 FindPython: Add IronPython support on all platforms 2020-05-11 14:02:59 +02:00
Marc Chevrier 74f6b9f980 FindPython: Add support for 'PyPy' 2020-05-01 15:03:04 +02:00
Marc Chevrier f37807652a FindPython: Add capability to specify Python implementations
Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an
ordered list, which implementations must be searched for.
Currently possible values are:
* CPython
* IronPython
2020-04-28 13:56:18 +02:00
Marc Chevrier 44c76eab75 FindPython: add sub-components to Development component
Fixes: #20425
2020-04-16 14:38:39 +02:00
Marc Chevrier 6e805d0cf0 Help: FindPython: fix typos and add some clarifications 2020-04-11 12:57:23 +02:00
Brad King bd5b679f1a Merge topic 'FindPython-polish'
1c61057f21 FindPython: misc. fixes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4519
2020-03-25 08:13:07 -04:00
Marc Chevrier 1c61057f21 FindPython: misc. fixes
Help: Fix errors regardings HINTS.
Code: Optimize Python signature cache variable to avoid unecessary searchs.
2020-03-24 18:26:16 +01:00
Marc Chevrier 443856fc7e FindPython: Add possibility to control scope of artifacts.
Fixes: #20362
2020-03-05 16:44:48 +01:00
Marc Chevrier ce032b7adf FindPython: python_add_library can now manage SOABI suffix.
Fixes: #20408
2020-03-03 13:13:48 +01:00
Marc Chevrier 6f60b445f3 FindPython: Add variable Python_SOABI
This variable holds the standard extension suffix for modules.

Fixes: #20150
2020-01-09 14:43:22 +01:00
Sebastian Müller 2d53e9fad5 FindPython: Extend virtual environment handling by considering conda
- Add functionality to recognize and use CONDA_PREFIX environment variable
- Add tests for conda virtual environments
- Fixes: #20111
2019-12-21 15:38:00 +01:00
Craig Scott 8d601bf3ff Help: Minor wording cleanup for Python modules 2019-10-27 21:36:31 +11:00
Marc Chevrier 5ab1160b9b FindPython: Add capability to specify directly artifacts
Fixes: #19492
2019-09-02 17:20:53 +02:00
Marc Chevrier c990a5209a FindPython: ensure virtual environments are correctly handled
Fixes: #19525
2019-08-05 18:20:29 +02:00
Marc Chevrier 42f591060b FindPython: add Python_FIND_ABI hint.
This variable will enable to specify will ABIs will be searched.
2019-06-24 12:00:21 +02:00
Marc Chevrier 5b41a556a4 FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup. 2019-05-24 18:44:43 +02:00
Marc Chevrier febbf1c7a7 FindPython: Add policy to manage lookup stratgey default. 2019-05-21 16:13:27 +02:00
Marc Chevrier db1949d7c3 FindPython: Implement lookup strategies.
Configration variable Python_FIND_STRATEGY controls the lookup startegy.
Possible values are LOCATION and VERSION.

Fixes: #19159
2019-05-21 16:13:27 +02:00
Marc Chevrier a5b712bebc FindPython*: Manage weak link for Python modules
Add new target Python::Module which take care of platform requirements
for Python module development.

Fixes: #18100
2019-05-07 16:37:24 +02:00
Marc Chevrier f1825b7b8f FindPython*: Add capability to control virtual env handling.
Fixes: #19097
2019-04-03 09:16:17 +02:00
Marc Chevrier bfe481d62e FindPython*: ensure correct architecture is selected.
Ensure interpreter and libraries architecture matches CMake build
configuration.
Update documentation about interpreter constraints.

Fixes: #19024
2019-03-14 18:53:57 +01:00
Hiroshi Miura 05862e0e33 FindPython: Introduce NumPy component
Fixes: #18678
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-01-25 01:26:48 +09:00
Kyle Edwards 8c63fbc765 FindPython: Support script mode
Fixes: #18827
2019-01-23 13:51:09 -05:00
Marc Chevrier 96a526b135 FindPython*: fix erroneous handling of virtual environments
fixes: #18408
2018-10-02 11:09:45 +02:00
Marc Chevrier e985623fd5 FindPython*: Windows: add facility to select lookup order for registry.
Fixes: #18302
2018-09-12 10:04:05 +02:00
Marc Chevrier cde14ede5f FindPython*: MacOS: Fix erroneous handling of Frameworks.
Fixes: #18204
2018-09-12 10:04:04 +02:00
Marc Chevrier 780bfef533 FindPython*: New implementation for Python stuff
Fixes: #16142
2018-03-20 09:29:44 +01:00