38 lines
605 B
TOML
38 lines
605 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "pdf2imos"
|
|
version = "0.1.0"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"pymupdf>=1.24",
|
|
"ezdxf>=0.18",
|
|
"typer>=0.9",
|
|
"jsonschema>=4.20",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov",
|
|
"ruff",
|
|
]
|
|
|
|
[project.scripts]
|
|
pdf2imos = "pdf2imos.__main__:app"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/pdf2imos"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|