chore: Make whoosh database optional dependency
This commit is contained in:
parent
5450776eb2
commit
e633c0335e
1 changed files with 6 additions and 4 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue