Skip to content

Commit

Permalink
drop python2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist authored and raveit65 committed May 27, 2018
1 parent 2542262 commit 2b06561
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 1,993 deletions.
4 changes: 0 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
SUBDIRS = libmenu desktop-directories layout util po

if HAVE_PYTHON
SUBDIRS += python
endif

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

EXTRA_DIST = autogen.sh
Expand Down
21 changes: 0 additions & 21 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,6 @@ else
fi
AC_SUBST(DEBUG_CFLAGS)

AC_ARG_ENABLE(python,
[AC_HELP_STRING([--enable-python],
[build python bindings])],
[enable_python=$enableval],
[enable_python=yes])

# Detect if we can build Python bindings (need python and python headers)
if test "x$enable_python" = "xyes" ; then
AM_PATH_PYTHON(2.7)
PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}], [have_python=yes], [have_python=no])
else
have_python=no
fi
AC_SUBST(PYTHON_LIBS)
AC_SUBST(PYTHON_CFLAGS)

AM_CONDITIONAL(HAVE_PYTHON, test x$have_python = xyes)


GOBJECT_INTROSPECTION_CHECK([0.6.7])

AC_OUTPUT([
Expand All @@ -98,7 +79,6 @@ libmenu/libmate-menu-uninstalled.pc
layout/Makefile
desktop-directories/Makefile
util/Makefile
python/Makefile
po/Makefile.in
])

Expand All @@ -125,7 +105,6 @@ echo "
Use *_DISABLE_DEPRECATED: ${enable_deprecation_flags}

Turn on debugging: ${enable_debug}
Build python bindings: ${have_python}
Build introspection support: ${found_introspection}

"
20 changes: 0 additions & 20 deletions python/Makefile.am

This file was deleted.

Loading

0 comments on commit 2b06561

Please sign in to comment.