Help: Reduce FindPython duplication
As far as I understand, please correct me if I'm wrong:
-
FindPython2
is only needed for projects that want to find 2 and 3 simultaneously. Otherwise,find_package(Python 2.7...<3.0)
does the job. -
FindPython3
is redundant, sincefind_package(Python 3.0)
does the same thing.
Suggestion: deprecate FindPython3
and treat FindPython2
as a special purpose tool, not a general purpose Python finder.
Their documentation could be replaced with a link to FindPython
and an explanation of why they are useful at all.
Cc: @marc.chevrier