chore: Make whoosh database optional dependency

This commit is contained in:
Marty Oehme 2023-09-19 17:34:33 +02:00
parent 5450776eb2
commit e633c0335e
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -12,17 +12,19 @@ pymupdf = "^1.23.1"
levenshtein = "^0.21.1" levenshtein = "^0.21.1"
papis = "^0.13" papis = "^0.13"
click = "^8.1.7" click = "^8.1.7"
whoosh = "^2.7.4" whoosh = { version = "^2.7.4", optional = true }
python-magic = "^0.4.27" python-magic = "^0.4.27"
chevron = "^0.14.0" chevron = "^0.14.0"
[tool.poetry.plugins."papis.command"] [tool.poetry.extras]
extract = "papis_extract:main" whoosh = ["whoosh"]
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
pytest = "^7.4.0" pytest = "^7.4.0"
[tool.poetry.plugins."papis.command"]
extract = "papis_extract:main"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"