pyWebLayout/pyproject.toml
Duncan Tourolle 952b7d4394
All checks were successful
Python CI / test (push) Successful in 51s
tests for epub reader
2025-06-07 18:52:15 +02:00

62 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyWebLayout"
description = "A Python library for HTML-like layout and rendering"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE"}
authors = [
{name = "Duncan Tourolle", email = "duncan@tourolle.paris"}
]
dynamic = ["version"]
dependencies = [
"Pillow",
"numpy",
"pyphen",
"beautifulsoup4",
"flask",
"ebooklib",
]
[tool.coverage.run]
source = ["pyWebLayout"]
branch = true
omit = [
"*/tests/*",
"*/test_*",
"setup.py",
"*/examples/*",
"*/__main__.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"^\\s*\"\"\".*\"\"\"\\s*$",
"^\\s*'''.*'''\\s*$",
"^\\s*\"\"\"",
"^\\s*'''",
"\"\"\"\\s*$",
"'''\\s*$"
]
precision = 2
show_missing = true
skip_covered = false
skip_empty = true
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.html]
directory = "htmlcov"