| [project] |
| name = "nemo-retriever-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/nemo_retriever_ocr", |
| "src/nemo_retriever_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*", |
| ] |
|
|