Skip to content
Permalink
Browse files

drop python2 support

  • Loading branch information...
yetist authored and raveit65 committed May 2, 2018
1 parent 2542262 commit 2b06561106415f0ff60eb5fd868f9ce015b0c23d
Showing with 0 additions and 1,993 deletions.
  1. +0 −4 Makefile.am
  2. +0 −21 configure.ac
  3. +0 −20 python/Makefile.am
  4. +0 −1,948 python/matemenu.c
@@ -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
@@ -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([
@@ -98,7 +79,6 @@ libmenu/libmate-menu-uninstalled.pc
layout/Makefile
desktop-directories/Makefile
util/Makefile
python/Makefile
po/Makefile.in
])

@@ -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}

"

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 2b06561

Please sign in to comment.
You can’t perform that action at this time.