Spaces:
Build error
Build error
Download pyproject.toml from tonigi/make_editable_image: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/tonigi/make_editable_image/resolve/main/pyproject.toml
- Command line
-
hf download hf://spaces/tonigi/make_editable_image/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/spaces/tonigi/make_editable_image/resolve/main/pyproject.toml
1.17 kB
| [build-system] | |
| requires = ["hatchling>=1.27"] | |
| build-backend = "hatchling.build" | |
| [project] | |
| name = "editable-image" | |
| version = "0.1.0" | |
| description = "Remove bitmap text into an editable SVG overlay" | |
| readme = "README.md" | |
| requires-python = ">=3.11" | |
| license = { text = "MIT" } | |
| dependencies = [ | |
| "fonttools[woff]>=4.59,<5", | |
| "numpy>=2.0,<3", | |
| "opencv-python>=4.10,<6", | |
| "pillow>=11,<13", | |
| "platformdirs>=4.3,<5", | |
| "pydantic>=2.10,<3", | |
| "rapidocr>=3.9,<4", | |
| ] | |
| [project.optional-dependencies] | |
| cpu = ["onnxruntime>=1.20,<2"] | |
| cuda = ["onnxruntime-gpu>=1.20,<2"] | |
| lama = ["torch>=2.5,<3"] | |
| sam2 = [ | |
| "huggingface-hub>=0.34,<2", | |
| "torch>=2.5,<3", | |
| "torchvision>=0.20,<1", | |
| "transformers>=4.57,<6", | |
| ] | |
| test = [ | |
| "pytest>=8.3,<9", | |
| "pytest-cov>=6,<8", | |
| ] | |
| [project.scripts] | |
| editable-image = "editable_image.cli:main" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/editable_image"] | |
| [tool.hatch.build] | |
| exclude = ["src/editable_image/static"] | |
| [tool.hatch.build.targets.wheel.force-include] | |
| "src/editable_image/fonts" = "editable_image/fonts" | |
| [tool.pytest.ini_options] | |
| addopts = "-q" | |
| testpaths = ["tests"] | |
| [tool.uv] | |
| conflicts = [[{ extra = "cpu" }, { extra = "cuda" }]] | |