File size: 974 Bytes
98a67a0 9e7e16e 98a67a0 9e7e16e 98a67a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | [project]
name = "nemotron-ocr"
version = "1.0.0"
description = "NeMo Retriever OCR"
authors = [{ name = "NVIDIA NeMo Retriever" }]
requires-python = ">=3.12,<3.13"
dependencies = [
"pandas>=2.3.3",
"pillow>=12.0.0",
"scikit-learn>=1.7.2",
"shapely>=2.1.2,<3",
"torch>=2.8.0",
"torchvision>=0.23.0",
]
[project.urls]
Homepage = "https://nvidia.com/"
[dependency-groups]
dev = [
"ipython>=9.6.0",
"pre-commit>=3.8.0,<4",
"pytest>=8.3.2,<9",
"pytest-cov>=5.0.0,<6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"src/nemotron_ocr",
"src/nemotron_ocr_cpp",
]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
dependencies = ["setuptools>=68", "torch>=2.0"]
[tool.hatch.build.targets.sdist]
include = [
"src/**",
"cpp/**",
"scripts/**",
"hatch_build.py",
"pyproject.toml",
"README.md",
"LICENSE*",
]
|