Refactoring #2275

Refactor cmake machinery for consistent Python interpreter/libraries handling

Added by pospelov about 1 year ago. Updated 8 months ago.

Status:BacklogStart date:09 Jan 2019
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Our long standing problem is inconsistency in Python interpreter and Python library versions. Even on Linux cmake often finds Python libraries which doesn't match Python interpreter.
We solve this problem by running our own ValidatePythonInstallation.cmake.

Seems that modern versions of CMake offers a module which takes care about consistency.

Within this item, investigate if we can switch to FindPython module. Questions to address:

Which will be the minimum CMake version requirement
How it works under Mac which is known for its messy Python-as-Framework-bundle.
How it works under Python virtual environment.


#1 Updated by pospelov 12 months ago

  • Status changed from Backlog to Sprint
  • Target version set to Sprint 41

#2 Updated by pospelov 9 months ago

  • Target version changed from Sprint 41 to v2.0

Will be possible with cmake-1.12.
Scheduling for version 2.0.

#3 Updated by pospelov 8 months ago

  • Status changed from Sprint to Backlog
  • Target version deleted (v2.0)

Also available in: Atom PDF