Python API package

The Python interface can be found in the source tree, under the python/recoll directory.

As of Recoll 1.19, the module can be compiled for Python3.

The normal Recoll build procedure (see above) installs the API package for the default system version (python) along with the main code. The package for other Python versions (e.g. python3 if the system default is python2) must be explicitely built and installed.

The python/recoll/ directory contains the usual setup.py. After configuring and building the main Recoll code, you can use the script to build and install the Python module:

          cd recoll-xxx/python/recoll
          pythonX setup.py build
          sudo pythonX setup.py install