[tool.poetry]
name = "bouquin"
version = "0.5.1"
description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
authors = ["Miguel Jacq <mig@mig5.net>"]
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://git.mig5.net/mig5/bouquin"
packages = [{ include = "bouquin" }]
include = ["bouquin/locales/*.json", "bouquin/keys/mig5.asc", "bouquin/fonts/NotoSansSymbols2-Regular.ttf", "bouquin/fonts/OFL.txt"]

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
pyside6 = ">=6.8.1,<7.0.0"
sqlcipher3-wheels = "^0.5.5.post0"
requests = "^2.32.5"

[tool.poetry.scripts]
bouquin = "bouquin.__main__:main"

[tool.poetry.group.test.dependencies]
pytest = "^8.4.2"
pytest-qt = "^4.5.0"
pytest-mock = "^3.15.1"
pytest-cov = "^7.0.0"


[tool.poetry.group.dev.dependencies]
pyproject-appimage = "^4.2"

[tool.pyproject-appimage]
script = "bouquin"
output = "Bouquin.AppImage"
icon = "bouquin/icons/bouquin.svg"
rename-icon = "bouquin.png"
desktop-entry = "bouquin.desktop"

[tool.vulture]
paths = ["bouquin", "vulture_ignorelist.py"]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
