-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (36 loc) · 1.07 KB
/
Copy pathpyproject.toml
File metadata and controls
43 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cooksprite"
version = "0.1.0"
description = "Cook up sprites with AI — a general, decoupled sprite-generation tool."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [{ name = "CookSprite contributors" }]
dependencies = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"pydantic>=2.6",
"pyyaml>=6.0",
"pillow>=10.2",
"numpy>=1.26",
"httpx>=0.27",
]
[project.optional-dependencies]
# Heavy GPU serving deps — only needed on the inference host (e.g. H20).
serve = ["ray[serve]>=2.9"]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "ruff>=0.3"]
[project.scripts]
cspr = "cli.__main__:main"
[tool.setuptools]
packages = ["backend", "backend.adapters", "workflow", "workflow.tools", "workflow.export", "cli"]
[tool.setuptools.package-data]
workflow = ["workflows/*.yaml", "tasks/*.yaml"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py310"