3829b27
diff --git a/Makefile.am b/Makefile.am
3829b27
index 9664cde..b145e62 100644
3829b27
--- a/Makefile.am
3829b27
+++ b/Makefile.am
3829b27
@@ -7,7 +7,6 @@ SUBDIRS = \
3829b27
 	src \
3829b27
 	extensions \
3829b27
 	data \
3829b27
-	python \
3829b27
 	test \
3829b27
 	examples \
3829b27
 	po \
3829b27
diff --git a/Makefile.in b/Makefile.in
3829b27
index 395df47..f68dac0 100644
3829b27
--- a/Makefile.in
3829b27
+++ b/Makefile.in
3829b27
@@ -195,7 +195,7 @@ am__define_uniq_tagged_files = \
3829b27
 ETAGS = etags
3829b27
 CTAGS = ctags
3829b27
 CSCOPE = cscope
3829b27
-DIST_SUBDIRS = libzeitgeist src extensions data python test examples \
3829b27
+DIST_SUBDIRS = libzeitgeist src extensions data test examples \
3829b27
 	po doc datahub
3829b27
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
3829b27
 	$(top_srcdir)/build-aux/compile \
3829b27
@@ -343,11 +343,6 @@ PKG_CONFIG = @PKG_CONFIG@
3829b27
 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
3829b27
 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
3829b27
 POSUB = @POSUB@
3829b27
-PYTHON = @PYTHON@
3829b27
-PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
3829b27
-PYTHON_PLATFORM = @PYTHON_PLATFORM@
3829b27
-PYTHON_PREFIX = @PYTHON_PREFIX@
3829b27
-PYTHON_VERSION = @PYTHON_VERSION@
3829b27
 RANLIB = @RANLIB@
3829b27
 SED = @SED@
3829b27
 SET_MAKE = @SET_MAKE@
3829b27
@@ -411,12 +406,10 @@ mkdir_p = @mkdir_p@
3829b27
 oldincludedir = @oldincludedir@
3829b27
 pdfdir = @pdfdir@
3829b27
 pkgpyexecdir = @pkgpyexecdir@
3829b27
-pkgpythondir = @pkgpythondir@
3829b27
 prefix = @prefix@
3829b27
 program_transform_name = @program_transform_name@
3829b27
 psdir = @psdir@
3829b27
 pyexecdir = @pyexecdir@
3829b27
-pythondir = @pythondir@
3829b27
 runstatedir = @runstatedir@
3829b27
 sbindir = @sbindir@
3829b27
 sharedstatedir = @sharedstatedir@
3829b27
@@ -428,7 +421,7 @@ top_builddir = @top_builddir@
3829b27
 top_srcdir = @top_srcdir@
3829b27
 NULL = 
3829b27
 ACLOCAL_AMFLAGS = --install -I m4 ${ACLOCAL_FLAGS}
3829b27
-SUBDIRS = libzeitgeist src extensions data python test examples po doc \
3829b27
+SUBDIRS = libzeitgeist src extensions data test examples po doc \
3829b27
 	$(NULL) $(am__append_1)
3829b27
 zeitgeistdocdir = $(pkgdatadir)/doc
3829b27
 zeitgeistdoc_DATA = \
3829b27
diff --git a/configure b/configure
3829b27
index dd39c48..86708cd 100755
3829b27
--- a/configure
3829b27
+++ b/configure
3829b27
@@ -812,15 +812,6 @@ CPPFLAGS
3829b27
 LDFLAGS
3829b27
 CFLAGS
3829b27
 CC
3829b27
-pkgpyexecdir
3829b27
-pyexecdir
3829b27
-pkgpythondir
3829b27
-pythondir
3829b27
-PYTHON_PLATFORM
3829b27
-PYTHON_EXEC_PREFIX
3829b27
-PYTHON_PREFIX
3829b27
-PYTHON_VERSION
3829b27
-PYTHON
3829b27
 MAINT
3829b27
 MAINTAINER_MODE_FALSE
3829b27
 MAINTAINER_MODE_TRUE
3829b27
@@ -921,7 +912,6 @@ enable_introspection
3829b27
       ac_precious_vars='build_alias
3829b27
 host_alias
3829b27
 target_alias
3829b27
-PYTHON
3829b27
 CC
3829b27
 CFLAGS
3829b27
 LDFLAGS
3829b27
@@ -1619,7 +1609,6 @@ Optional Packages:
3829b27
                           Build the FTS extension with dee-icu
3829b27
 
3829b27
 Some influential environment variables:
3829b27
-  PYTHON      the Python interpreter
3829b27
   CC          C compiler command
3829b27
   CFLAGS      C compiler flags
3829b27
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
3829b27
@@ -3224,215 +3213,6 @@ fi
3829b27
   MAINT=$MAINTAINER_MODE_TRUE
3829b27
 
3829b27
 
3829b27
-
3829b27
-
3829b27
-
3829b27
-
3829b27
-
3829b27
-
3829b27
-
3829b27
-        # Find any Python interpreter.
3829b27
-    if test -z "$PYTHON"; then
3829b27
-      for ac_prog in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0
3829b27
-do
3829b27
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
3829b27
-set dummy $ac_prog; ac_word=$2
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829b27
-$as_echo_n "checking for $ac_word... " >&6; }
3829b27
-if ${ac_cv_path_PYTHON+:} false; then :
3829b27
-  $as_echo_n "(cached) " >&6
3829b27
-else
3829b27
-  case $PYTHON in
3829b27
-  [\\/]* | ?:[\\/]*)
3829b27
-  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3829b27
-  ;;
3829b27
-  *)
3829b27
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829b27
-for as_dir in $PATH
3829b27
-do
3829b27
-  IFS=$as_save_IFS
3829b27
-  test -z "$as_dir" && as_dir=.
3829b27
-    for ac_exec_ext in '' $ac_executable_extensions; do
3829b27
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829b27
-    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3829b27
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829b27
-    break 2
3829b27
-  fi
3829b27
-done
3829b27
-  done
3829b27
-IFS=$as_save_IFS
3829b27
-
3829b27
-  ;;
3829b27
-esac
3829b27
-fi
3829b27
-PYTHON=$ac_cv_path_PYTHON
3829b27
-if test -n "$PYTHON"; then
3829b27
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3829b27
-$as_echo "$PYTHON" >&6; }
3829b27
-else
3829b27
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829b27
-$as_echo "no" >&6; }
3829b27
-fi
3829b27
-
3829b27
-
3829b27
-  test -n "$PYTHON" && break
3829b27
-done
3829b27
-test -n "$PYTHON" || PYTHON=":"
3829b27
-
3829b27
-    fi
3829b27
-    am_display_PYTHON=python
3829b27
-
3829b27
-
3829b27
-  if test "$PYTHON" = :; then
3829b27
-      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
3829b27
-  else
3829b27
-
3829b27
-
3829b27
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3829b27
-$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
3829b27
-if ${am_cv_python_version+:} false; then :
3829b27
-  $as_echo_n "(cached) " >&6
3829b27
-else
3829b27
-  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
3829b27
-fi
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3829b27
-$as_echo "$am_cv_python_version" >&6; }
3829b27
-  PYTHON_VERSION=$am_cv_python_version
3829b27
-
3829b27
-
3829b27
-
3829b27
-  PYTHON_PREFIX='${prefix}'
3829b27
-
3829b27
-  PYTHON_EXEC_PREFIX='${exec_prefix}'
3829b27
-
3829b27
-
3829b27
-
3829b27
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3829b27
-$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
3829b27
-if ${am_cv_python_platform+:} false; then :
3829b27
-  $as_echo_n "(cached) " >&6
3829b27
-else
3829b27
-  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
3829b27
-fi
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3829b27
-$as_echo "$am_cv_python_platform" >&6; }
3829b27
-  PYTHON_PLATFORM=$am_cv_python_platform
3829b27
-
3829b27
-
3829b27
-  # Just factor out some code duplication.
3829b27
-  am_python_setup_sysconfig="\
3829b27
-import sys
3829b27
-# Prefer sysconfig over distutils.sysconfig, for better compatibility
3829b27
-# with python 3.x.  See automake bug#10227.
3829b27
-try:
3829b27
-    import sysconfig
3829b27
-except ImportError:
3829b27
-    can_use_sysconfig = 0
3829b27
-else:
3829b27
-    can_use_sysconfig = 1
3829b27
-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
3829b27
-# <https://github.com/pypa/virtualenv/issues/118>
3829b27
-try:
3829b27
-    from platform import python_implementation
3829b27
-    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
3829b27
-        can_use_sysconfig = 0
3829b27
-except ImportError:
3829b27
-    pass"
3829b27
-
3829b27
-
3829b27
-            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3829b27
-$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
3829b27
-if ${am_cv_python_pythondir+:} false; then :
3829b27
-  $as_echo_n "(cached) " >&6
3829b27
-else
3829b27
-  if test "x$prefix" = xNONE
3829b27
-     then
3829b27
-       am_py_prefix=$ac_default_prefix
3829b27
-     else
3829b27
-       am_py_prefix=$prefix
3829b27
-     fi
3829b27
-     am_cv_python_pythondir=`$PYTHON -c "
3829b27
-$am_python_setup_sysconfig
3829b27
-if can_use_sysconfig:
3829b27
-    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
3829b27
-else:
3829b27
-    from distutils import sysconfig
3829b27
-    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
3829b27
-sys.stdout.write(sitedir)"`
3829b27
-     case $am_cv_python_pythondir in
3829b27
-     $am_py_prefix*)
3829b27
-       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
3829b27
-       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
3829b27
-       ;;
3829b27
-     *)
3829b27
-       case $am_py_prefix in
3829b27
-         /usr|/System*) ;;
3829b27
-         *)
3829b27
-	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
3829b27
-	  ;;
3829b27
-       esac
3829b27
-       ;;
3829b27
-     esac
3829b27
-
3829b27
-fi
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3829b27
-$as_echo "$am_cv_python_pythondir" >&6; }
3829b27
-  pythondir=$am_cv_python_pythondir
3829b27
-
3829b27
-
3829b27
-
3829b27
-  pkgpythondir=\${pythondir}/$PACKAGE
3829b27
-
3829b27
-
3829b27
-        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3829b27
-$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
3829b27
-if ${am_cv_python_pyexecdir+:} false; then :
3829b27
-  $as_echo_n "(cached) " >&6
3829b27
-else
3829b27
-  if test "x$exec_prefix" = xNONE
3829b27
-     then
3829b27
-       am_py_exec_prefix=$am_py_prefix
3829b27
-     else
3829b27
-       am_py_exec_prefix=$exec_prefix
3829b27
-     fi
3829b27
-     am_cv_python_pyexecdir=`$PYTHON -c "
3829b27
-$am_python_setup_sysconfig
3829b27
-if can_use_sysconfig:
3829b27
-    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
3829b27
-else:
3829b27
-    from distutils import sysconfig
3829b27
-    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
3829b27
-sys.stdout.write(sitedir)"`
3829b27
-     case $am_cv_python_pyexecdir in
3829b27
-     $am_py_exec_prefix*)
3829b27
-       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
3829b27
-       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
3829b27
-       ;;
3829b27
-     *)
3829b27
-       case $am_py_exec_prefix in
3829b27
-         /usr|/System*) ;;
3829b27
-         *)
3829b27
-	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
3829b27
-	   ;;
3829b27
-       esac
3829b27
-       ;;
3829b27
-     esac
3829b27
-
3829b27
-fi
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3829b27
-$as_echo "$am_cv_python_pyexecdir" >&6; }
3829b27
-  pyexecdir=$am_cv_python_pyexecdir
3829b27
-
3829b27
-
3829b27
-
3829b27
-  pkgpyexecdir=\${pyexecdir}/$PACKAGE
3829b27
-
3829b27
-
3829b27
-
3829b27
-  fi
3829b27
-
3829b27
-
3829b27
-
3829b27
 ac_ext=c
3829b27
 ac_cpp='$CPP $CPPFLAGS'
3829b27
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829b27
@@ -18776,7 +18556,7 @@ $as_echo "yes" >&6; }
3829b27
 fi
3829b27
 
3829b27
 
3829b27
-ac_config_files="$ac_config_files Makefile src/Makefile libzeitgeist/Makefile libzeitgeist/zeitgeist-2.0.pc datahub/Makefile extensions/Makefile extensions/fts++/Makefile extensions/fts++/test/Makefile data/Makefile data/ontology/Makefile python/Makefile test/Makefile test/dbus/Makefile test/direct/Makefile test/c/Makefile test/data/Makefile examples/Makefile examples/c/Makefile examples/vala/Makefile doc/Makefile doc/libzeitgeist/Makefile po/Makefile.in"
3829b27
+ac_config_files="$ac_config_files Makefile src/Makefile libzeitgeist/Makefile libzeitgeist/zeitgeist-2.0.pc datahub/Makefile extensions/Makefile extensions/fts++/Makefile extensions/fts++/test/Makefile data/Makefile data/ontology/Makefile test/Makefile test/dbus/Makefile test/direct/Makefile test/c/Makefile test/data/Makefile examples/Makefile examples/c/Makefile examples/vala/Makefile doc/Makefile doc/libzeitgeist/Makefile po/Makefile.in"
3829b27
 
3829b27
 
3829b27
 #################################################
3829b27
@@ -19531,24 +19311,6 @@ fi
3829b27
 
3829b27
 
3829b27
 
3829b27
-fi
3829b27
-
3829b27
-#################################################
3829b27
-# Ontology parsing dependencies
3829b27
-#################################################
3829b27
-
3829b27
-# check for python-rdflib
3829b27
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python-rdflib" >&5
3829b27
-$as_echo_n "checking for python-rdflib... " >&6; }
3829b27
-echo "import rdflib" | $PYTHON - 2>/dev/null
3829b27
-if test $? -ne 0 ; then
3829b27
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829b27
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829b27
-as_fn_error $? "failed.  Please install the python-rdflib package.
3829b27
-See \`config.log' for more details" "$LINENO" 5; }
3829b27
-else
3829b27
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3829b27
-$as_echo "yes" >&6; }
3829b27
 fi
3829b27
 
3829b27
 #################################################
3829b27
@@ -20727,7 +20489,6 @@ do
3829b27
     "extensions/fts++/test/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/fts++/test/Makefile" ;;
3829b27
     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
3829b27
     "data/ontology/Makefile") CONFIG_FILES="$CONFIG_FILES data/ontology/Makefile" ;;
3829b27
-    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
3829b27
     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3829b27
     "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;;
3829b27
     "test/direct/Makefile") CONFIG_FILES="$CONFIG_FILES test/direct/Makefile" ;;