Refactoring #2275

Refactor cmake machinery for consistent Python interpreter/libraries handling

Added by pospelov 10 months ago. Updated 3 months ago.

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

0%

Category:-
Target version:-

Description

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.

https://cmake.org/cmake/help/git-stage/module/FindPython.html

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.

History

#1 Updated by pospelov 6 months ago

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

#2 Updated by pospelov 3 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 3 months ago

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

Also available in: Atom PDF