1
0
Fork 0
mirror of https://github.com/qurator-spk/eynollah.git synced 2025-06-09 12:19:54 +02:00
eynollah/pyproject.toml

54 lines
1.5 KiB
TOML
Raw Permalink Normal View History

2024-08-14 19:50:57 +02:00
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools-ocrd"]
[project]
name = "eynollah"
authors = [
{name = "Vahid Rezanezhad"},
{name = "Staatsbibliothek zu Berlin - Preußischer Kulturbesitz"},
]
description = "Document Layout Analysis"
readme = "README.md"
license.file = "LICENSE"
requires-python = ">=3.8"
keywords = ["document layout analysis", "image segmentation"]
2024-08-27 15:04:57 +02:00
dynamic = ["dependencies", "version"]
2024-08-14 19:50:57 +02:00
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Image Processing",
]
[project.optional-dependencies]
OCR = ["torch <= 2.0.1", "transformers <= 4.30.2"]
plotting = ["matplotlib"]
2024-08-14 19:50:57 +02:00
[project.scripts]
eynollah = "eynollah.cli:main"
ocrd-eynollah-segment = "eynollah.ocrd_cli:main"
ocrd-sbb-binarize = "eynollah.ocrd_cli_binarization:main"
2024-08-14 19:50:57 +02:00
[project.urls]
Homepage = "https://github.com/qurator-spk/eynollah"
Repository = "https://github.com/qurator-spk/eynollah.git"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
2025-03-31 14:13:16 +02:00
optional-dependencies.test = {file = ["requirements-test.txt"]}
2024-08-14 19:50:57 +02:00
[tool.setuptools.packages.find]
where = ["src"]
2024-08-14 19:50:57 +02:00
[tool.setuptools.package-data]
"*" = ["*.json", '*.yml', '*.xml', '*.xsd']
[tool.coverage.run]
branch = true
source = ["eynollah"]