[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "dreader-application"
version = "0.1.0"
description = "A complete ebook reader application built with pyWebLayout"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
    {name = "Duncan Tourolle", email = "duncan@tourolle.paris"}
]
keywords = ["ebook", "reader", "epub", "ereader", "layout"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Topic :: Software Development :: Libraries",
    "Topic :: Text Processing :: Markup",
]

dependencies = [
    "pyweblayout @ git+https://gitea.tourolle.paris/dtourolle/pyWebLayout",
    "Pillow>=9.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0.0",
    "pytest-cov>=3.0.0",
    "black>=22.0.0",
    "flake8>=4.0.0",
    "mypy>=0.950",
]

[project.urls]
Homepage = "https://gitea.tourolle.paris/dtourolle/dreader-application"
Documentation = "https://gitea.tourolle.paris/dtourolle/dreader-application#readme"
Repository = "https://gitea.tourolle.paris/dtourolle/dreader-application"
Issues = "https://gitea.tourolle.paris/dtourolle/dreader-application/issues"

[tool.setuptools.packages.find]
where = ["."]
include = ["dreader*"]

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"

[tool.black]
line-length = 100
target-version = ['py38']

[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
