Skip to content

Commit 2b06561

Browse files
yetistraveit65
authored andcommitted
drop python2 support
1 parent 2542262 commit 2b06561

File tree

4 files changed

+0
-1993
lines changed

4 files changed

+0
-1993
lines changed

Makefile.am

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
SUBDIRS = libmenu desktop-directories layout util po
22

3-
if HAVE_PYTHON
4-
SUBDIRS += python
5-
endif
6-
73
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
84

95
EXTRA_DIST = autogen.sh

configure.ac

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,6 @@ else
6969
fi
7070
AC_SUBST(DEBUG_CFLAGS)
7171

72-
AC_ARG_ENABLE(python,
73-
[AC_HELP_STRING([--enable-python],
74-
[build python bindings])],
75-
[enable_python=$enableval],
76-
[enable_python=yes])
77-
78-
# Detect if we can build Python bindings (need python and python headers)
79-
if test "x$enable_python" = "xyes" ; then
80-
AM_PATH_PYTHON(2.7)
81-
PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}], [have_python=yes], [have_python=no])
82-
else
83-
have_python=no
84-
fi
85-
AC_SUBST(PYTHON_LIBS)
86-
AC_SUBST(PYTHON_CFLAGS)
87-
88-
AM_CONDITIONAL(HAVE_PYTHON, test x$have_python = xyes)
89-
90-
9172
GOBJECT_INTROSPECTION_CHECK([0.6.7])
9273

9374
AC_OUTPUT([
@@ -98,7 +79,6 @@ libmenu/libmate-menu-uninstalled.pc
9879
layout/Makefile
9980
desktop-directories/Makefile
10081
util/Makefile
101-
python/Makefile
10282
po/Makefile.in
10383
])
10484

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

127107
Turn on debugging: ${enable_debug}
128-
Build python bindings: ${have_python}
129108
Build introspection support: ${found_introspection}
130109

131110
"

python/Makefile.am

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)