-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (30 loc) · 835 Bytes
/
pyproject.toml
File metadata and controls
37 lines (30 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bookstack-to-pdf"
version = "0.1.0"
description = "BookStack to PDF exporter using WeasyPrint, configurable for any organization."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"weasyprint>=68.1",
"pyyaml>=6",
"pydantic>=2",
"jinja2>=3",
"beautifulsoup4>=4.12",
]
[project.optional-dependencies]
dev = ["pytest>=8", "pypdf>=4"]
[dependency-groups]
dev = ["pytest>=8", "pypdf>=4"]
[project.scripts]
bookstack-to-pdf = "bookstack_to_pdf.__main__:main"
[tool.setuptools.packages.find]
include = ["bookstack_to_pdf*"]
[tool.setuptools.package-data]
bookstack_to_pdf = ["templates/*.j2"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]