Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
configure.ac: Remove option --with-python=2
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed May 9, 2020
1 parent 520078a commit f712bb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -402,17 +402,14 @@ SAGE_CHECK_OSX_SUPPORTED()
# Python version
AC_MSG_CHECKING([Python version to install])
AC_ARG_WITH([python],
[AS_HELP_STRING([--with-python=2],
[build and use Python 2])]
[AS_HELP_STRING([--with-python=3],
[build and use Python 3 (default)])])

case "$with_python" in
2*) SAGE_PYTHON_VERSION=2;;
3*) SAGE_PYTHON_VERSION=3;;
"") SAGE_PYTHON_VERSION=3;;
*)
AC_MSG_ERROR([allowed values for --with-python are 2 and 3]);;
AC_MSG_ERROR([the only allowed value for --with-python is 3. Support for Python 2 has been removed in Sage 9.2.]);;
esac

AC_MSG_RESULT([$SAGE_PYTHON_VERSION])
Expand Down

0 comments on commit f712bb5

Please sign in to comment.