| [project] |
| name = "eraser" |
| version = "0.1.0" |
| description = "Finegrain Object Eraser (Gradio)" |
| authors = [ |
| { name = "Pierre Chapuis", email = "pierre@lagon.tech" } |
| ] |
| dependencies = [ |
| "gradio>=5.27.1", |
| "environs>=11.0.0", |
| "gradio-image-annotation>=0.2.5", |
| "pillow>=10.4.0", |
| "pillow-heif>=0.18.0", |
| "finegrain @ git+ssh://git@github.com/finegrain-ai/finegrain-python@22ac482d547548fd56816b1a01385256804e1dee#subdirectory=finegrain", |
| ] |
| readme = "README.md" |
| requires-python = ">= 3.12, <3.13" |
|
|
| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
| [tool.rye] |
| managed = true |
| dev-dependencies = [] |
|
|
| [tool.hatch.metadata] |
| allow-direct-references = true |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["src/eraser"] |
|
|
| [tool.ruff] |
| line-length = 120 |
| target-version = "py312" |
|
|
| [tool.ruff.lint] |
| select = [ |
| "E", |
| "W", |
| "F", |
| "UP", |
| "A", |
| "B", |
| "Q", |
| "I", |
| ] |
|
|
| [tool.pyright] |
| include = ["src"] |
| exclude = ["**/__pycache__"] |
|
|