Switch to python 3
The python scripts in this repo supports both python2 and python3.
Use python3 now since python2 is EOL.
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I858553eb9ec86c2010e649679dee1607006e89b3
diff --git a/configure.ac b/configure.ac
index be4f46a..2faca39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,9 +12,9 @@
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_AWK
-AM_PATH_PYTHON([2.7],
+AM_PATH_PYTHON([3],
[AC_SUBST([PYTHON], [echo "$PYTHON"])],
- [AC_MSG_ERROR([Could not find python-2.7 installed...python-2.7 is required])])
+ [AC_MSG_ERROR([Could not find python-3 installed...python-3 is required])])
# Checks for libraries.
PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])