Canvas / pyproject.toml
ginipick's picture
Upload 8 files
f90b620 verified
raw
history blame
1.38 kB
[project]
name = "cutter"
version = "0.1.0"
description = "Finegrain Object Cutter (Gradio)"
authors = [
{ name = "Pierre Chapuis", email = "pierre@lagon.tech" }
]
dependencies = [
"gradio>=4.42.0",
"gradio-image-annotation @ https://huggingface.co/spaces/finegrain/finegrain-object-cutter/resolve/main/gradio_image_annotation-0.2.3-py3-none-any.whl",
"gradio-imageslider @ https://huggingface.co/spaces/finegrain/finegrain-object-cutter/resolve/main/gradio_imageslider-0.0.20-py3-none-any.whl",
"pillow>=10.4.0",
"pillow-heif>=0.18.0",
"refiners @ git+https://github.com/finegrain-ai/refiners",
"numba>=0.60.0",
"pymatting>=1.1.12",
"transformers>=4.44.2",
"spaces>=0.29.3",
"numpy<2.0.0",
]
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/cutter"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"UP", # pyupgrade
"A", # flake8-builtins
"B", # flake8-bugbear
"Q", # flake8-quotes
"I", # isort
]
[tool.pyright]
include = ["src"]
exclude = ["**/__pycache__"]