Spaces:
Configuration error
Configuration error
Download pyproject.toml from serety95/axis-numeric: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/spaces/serety95/axis-numeric/resolve/main/pyproject.toml
- Command line
-
hf download hf://spaces/serety95/axis-numeric/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/spaces/serety95/axis-numeric/resolve/main/pyproject.toml
1.36 kB
| [build-system] | |
| requires = ["setuptools>=61"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "axis-numeric-inference" | |
| version = "0.1.0" | |
| requires-python = ">=3.11" | |
| dependencies = ["fastapi>=0.115,<1", "pydantic>=2.10,<3", "python-multipart>=0.0.20,<1", "uvicorn>=0.34,<1"] | |
| [project.optional-dependencies] | |
| test = ["httpx>=0.28,<1", "pytest>=8,<10"] | |
| inference = ["numpy>=2,<3", "Pillow>=11,<13", "onnxruntime>=1.20,<2"] | |
| tesseract = ["numpy>=2,<3", "opencv-python-headless>=4.10,<5", "pytesseract>=0.3.13,<1"] | |
| ml = ["numpy>=2,<3", "Pillow>=11,<13", "onnx>=1.17,<2", "onnxruntime>=1.20,<2", "torch>=2.5,<3"] | |
| # Without this, setuptools' flat-layout auto-discovery finds two ambiguous | |
| # top-level candidates -- axis_numeric/ (the real package) and models/ (a | |
| # data directory of .onnx/.json model artifacts, no __init__.py, picked up | |
| # as an implicit namespace package) -- and refuses to guess, failing the | |
| # editable install before any test runs. models/ is never resolved through | |
| # Python's package machinery anyway: axis_numeric/model_loader.py reads it | |
| # via the AXIS_NUMERIC_MODEL_PATH env var, an explicit filesystem path, so | |
| # it has no reason to be a package-discovery candidate at all. | |
| [tool.setuptools.packages.find] | |
| include = ["axis_numeric*"] | |
| [tool.pytest.ini_options] | |
| pythonpath = ["."] | |
| testpaths = ["tests"] | |