[build-system] requires = ["setuptools>=68.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "turkceocr" version = "2.0.0" description = "TürkçeOCR: İki Katmanlı Açık Kaynak Türkçe OCR, KVKK PII Karartma ve Doküman Zekası Ailesi" readme = "README.md" requires-python = ">=3.10" license = {text = "Apache-2.0"} authors = [ {name = "ersanbil"} ] keywords = [ "turkish-ocr", "turkceocr", "document-ai", "vlm", "lightonocr", "paddleocr-vl", "svtrv2", "constrained-decoding", "turkceocr-bench", "kvkk", "pii" ] dependencies = [ "numpy>=1.24.0", "Pillow>=10.0.0", "PyYAML>=6.0", ] [project.optional-dependencies] train = [ "torch>=2.2.0", "torchvision>=0.17.0", "transformers>=4.46.0", "datasets>=2.19.0", "accelerate>=0.30.0", "peft>=0.11.0", "bitsandbytes>=0.43.0", ] dev = [ "pytest>=7.4.0", ] [project.scripts] turkceocr = "turkceocr.cli:main" turkceocr-serve = "turkceocr.server:main" turkceocr-train-vl = "scripts.train_vl:main" turkceocr-train-line = "scripts.train_line:main" turkceocr-bench = "scripts.build_turkceocr_bench:main" [tool.setuptools.packages.find] where = ["."] include = ["turkceocr*", "scripts*"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] pythonpath = ["."]