diff --git a/src/doc/user/usermanual.html b/src/doc/user/usermanual.html index bcd911c3..02b6e877 100644 --- a/src/doc/user/usermanual.html +++ b/src/doc/user/usermanual.html @@ -376,9 +376,15 @@ alink="#0000FF">
When building Recoll,
the real time indexing support can be customised during
- package configuration with the
+ package configuration with the
The Python interface can be found in the source
- package, under The As of Recoll 1.19,
- the module can be compiled for Python3. The normal Recoll
- installer installs the Python2 API along with the main
- code. The Python3 version must be explicitely built and
- installed. When installing from a repository, and depending on
- the distribution, the Python API can sometimes be found
- in a separate package. There is a good chance that your system repository has
+ packages for the Recoll Python API, sometimes in a
+ package separate from the main one (maybe named something
+ like python-recoll). Else refer to the Building from source
+ chapter. As an introduction, the following small sample will
run a query and list the title and url for each of the
results. It would work with
+ You can also take a look at the source for the
+ Recoll WebUI, or the upmpdcli local media server, which are
+ both based on the Python API. When building from source cloned from the BitBucket
+ When building from source cloned from the git
repository, you also need to install autoconf, automake, and sh autogen.sh in the top
source directory before running We did not test building the GUI on Solaris for
- recent versions. You will need at least Qt 4.4. There
- are some hints on an old web site page, they may still be
- valid. Someone did test the 1.19 indexer and Python module
- build, they do work, with a few minor glitches. Be sure
- to use GNU make and install. The Python interface can be found in the source tree,
+ under the 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 We did not test building the GUI on Solaris for recent
+ versions. You will need at least Qt 4.4. There are some
+ hints on an old web site page, they may still be
+ valid. Someone did test the 1.19 indexer and Python module
+ build, they do work, with a few minor glitches. Be sure
+ to use GNU make and install.--with[out]-fam or --with[out]-inotify options. The default is
currently to include
- python/recoll.python/recoll/
- directory contains the usual setup.py. After configuring the main
- Recoll code, you can use
- the script to build and install the Python module:
-
- cd recoll-xxx/python/recoll
- python setup.py build
- python setup.py install
- (practices usual hardship-repelling invocations)
- configure..prefix/share/recollpython/recoll
+ directory.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
+