content: [build-system]
  requires = [
           "setuptools>=44",
           "oldest-supported-numpy; python_version=='3.8'",
           "numpy>=1.25; python_version>='3.9'",
           "wheel",
  ]  # PEP 508 specifications.
  build-backend = "setuptools.build_meta"
  
  [project]
  name = "ocrd"
  authors = [{name = "Konstantin Baierer", email = "unixprog@gmail.com"}]
  license = {text = "Apache License 2.0"}
  description = "OCR-D framework"
  requires-python = ">=3.8"
  dynamic = ['version', 'dependencies']
  
  [project.readme]
  file = "README.md"
  content-type = "text/markdown"
  
  [tool.setuptools.dynamic.dependencies]
  file = ["requirements.txt"]
  
  [tool.setuptools.dynamic.version]
  file = ["VERSION"]
  
  [project.urls]
  Homepage = "https://ocr-d.de"
  Documentation = "https://ocr-d.de/core"
  Repository = "https://github.com/OCR-D/core"
  Issues = "https://github.com/OCR-D/core/issues"
  
  [project.scripts]
  ocrd = "ocrd.cli:cli"
  ocrd-dummy = "ocrd.processor.builtin.dummy_processor:cli"
  ocrd-filter = "ocrd.processor.builtin.filter_processor:cli"
  
  [tool.setuptools]
  include-package-data = true
  
  [tool.setuptools.package-data]
  "*" = ["*.json", '*.yml', '*.xml', '*.conf', '*.bash', '*.xsd']
  
  [tool.setuptools.packages.find]
  where = ["src"]
  namespaces = false
  