python: We only support 2.7.x

Python 2.7 is currently the only upstream-supported 2.x version.
Python 2.6 is not supported by upstream since 2013 and there will be no 2.8
This commit is contained in:
Priit Laes 2016-03-12 11:53:33 +02:00 committed by Yorik van Havre
parent 61658e60ad
commit 4db04840b1

View File

@ -401,9 +401,9 @@ if(NOT FREECAD_LIBPACK_USE OR FREECAD_LIBPACK_CHECKFILE_CLBUNDLER)
# -------------------------------- Python --------------------------------
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
# Acceptable versions of Python
set(Python_ADDITIONAL_VERSIONS "2.5" "2.6" "2.7" "2.8" "2.9")
set(Python_ADDITIONAL_VERSIONS "2.7")
# For building on OS X
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")