From 676b6f1c69018d371b530423d4e798f67e6bb7f5 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:24:41 +0200 Subject: [PATCH] add pyproject.toml --- pyproject.toml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..367a073 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,44 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel", "setuptools-ocrd"] + +[project] +name = "sbb_binarization" +authors = [ + {name = "Vahid Rezanezhad"}, + {name = "Staatsbibliothek zu Berlin - Preußischer Kulturbesitz"}, +] +description = "Pixelwise binarization with selectional auto-encoders in Keras" +readme = "README.md" +license.file = "LICENSE" +requires-python = ">=3.8" + +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.scripts] +sbb_binarize = "sbb_binarize.cli:main" +ocrd-sbb-binarize = "sbb_binarize.ocrd_cli:cli" + +[project.urls] +Homepage = "https://github.com/qurator-spk/sbb_binarization" +Repository = "https://github.com/qurator-spk/sbb_binarization.git" + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} + +[tool.setuptools.packages.find] +where = ["."] +include = ["sbb_binarize"] +namespaces = false + +[tool.setuptools.package-data] +sbb_binarize = ["sbb_binarize/*.json"]