|
|
|
[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"]
|
|
|
|
|
|
|
|
dynamic = ["dependencies", "version"]
|
|
|
|
|
|
|
|
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"]
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
eynollah = "eynollah.cli:main"
|
|
|
|
ocrd-eynollah-segment = "eynollah.ocrd_cli:main"
|
|
|
|
ocrd-sbb-binarize = "eynollah.ocrd_cli_binarization:cli"
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://github.com/qurator-spk/eynollah"
|
|
|
|
Repository = "https://github.com/qurator-spk/eynollah.git"
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
|
|
|
dependencies = {file = ["requirements.txt"]}
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
where = ["src"]
|
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
|
|
|
"*" = ["*.json", '*.yml', '*.xml', '*.xsd']
|