Skip to content

Commit

Permalink
Change the default version of Python to 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
okeuday committed Sep 6, 2017
1 parent 24e5c4e commit 5aae64f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -49,7 +49,7 @@ before_script:
- cd build
- ../src/autogen.sh
- export ${CONFIGURE_ENV}
- ../src/configure --with-zeromq --with-cxx-backtrace --with-python-version=3 --prefix=`pwd`/../install_local
- ../src/configure --with-zeromq --with-cxx-backtrace --prefix=`pwd`/../install_local
- mysql -u root -e "CREATE DATABASE cloudi_tests;"
- mysql -u root -e "CREATE USER 'cloudi_tests'@'localhost' IDENTIFIED BY 'cloudi_tests'; GRANT ALL ON cloudi_tests.* TO cloudi_tests;"
- psql -U postgres -c "CREATE DATABASE cloudi_tests;"
Expand Down
4 changes: 4 additions & 0 deletions src/ChangeLog
@@ -1,6 +1,10 @@
# -*- coding: utf-8; tab-width: 4; -*-
# ex: set fenc=utf-8 sts=4 ts=4 et nomod:

2017-09-05 Michael Truog <mjtruog [at] gmail (dot) com>

* Change the default version of Python to 3

2017-09-04 Michael Truog <mjtruog [at] gmail (dot) com>

* Update quickrand
Expand Down
2 changes: 1 addition & 1 deletion src/configure.ac
Expand Up @@ -510,7 +510,7 @@ AC_ARG_WITH([python_version],
AC_MSG_ERROR([Python version 2 or 3, not $withval])
fi
],
[PYTHON_VERSION_REQUIRED="2"])
[PYTHON_VERSION_REQUIRED="3"])
if test "x$PYTHON_VERSION_REQUIRED" = "x2"; then
AS_IF([test "x$PYTHON_DEBUG" == "xno"],
[AC_PATH_PROGS([PYTHON],[python2 python2.7 python])],
Expand Down

0 comments on commit 5aae64f

Please sign in to comment.