setup.py: Remove the e2e_search feature.

The e2e_search feature depends on tantivy. The tantivy package got a
release on pypi in the meantime but the API changed in incompatible
ways.

Remove support for it so someone doesn't shoot himself in the foot.
This commit is contained in:
Damir Jelić 2020-02-20 13:18:10 +01:00
parent 9746a28368
commit 85dc80bfa7
3 changed files with 1 additions and 20 deletions

View File

@ -93,22 +93,6 @@ UseKeyring = False
IgnoreVerification = True
```
### Experimental E2E search support.
Pantalaimon can handle the search endpoint of a Matrix server as well, providing
search support for E2E encrypted rooms.
For this to work [tantivy](https://github.com/tantivy-search/tantivy) is needed.
Tantivy is a full text search engine written in rust.
The python bindings for tantivy are needed for pantalaimon. The bindings are not
yet merged upstream, instead they can be found
[here](https://github.com/matrix-org/tantivy/tree/topcollector_order_by/python).
Note that rust nightly (tested version was: 1.36.0-nightly (50a0defd5 2019-05-21))
and [setuptools-rust](https://pypi.org/project/setuptools-rust/) are required
before the tantivy python bindings can be installed.
Usage
=====

View File

@ -19,7 +19,7 @@ class InvalidQueryError(Exception):
pass
if util.find_spec("tantivy"):
if False:
import asyncio
import datetime
import json

View File

@ -32,9 +32,6 @@ setup(
"matrix-nio[e2e] >= 0.4.1"
],
extras_require={
"e2e_search": [
"tantivy",
],
"ui": [
"dbus-python",
"PyGObject",