-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
134 lines (108 loc) · 2.42 KB
/
pyproject.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "comfy-script"
version = "0.5.2"
description = "A Python frontend and library for ComfyUI"
readme = "README.md"
# ComfyUI: >=3.8
# comfyui: >=3.9
# >=3.6 is required to preserve insertion order of input types
requires-python = ">=3.9"
authors = [
{ name="Chaoses-Ib", email="[email protected]" },
]
keywords = ["comfyui"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
# There is no mandatory dependencies
client = [
# Already required by ComfyUI
"aiohttp",
# Used by aiohttp
"yarl",
# 1.5.9: https://github.com/erdewit/nest_asyncio/issues/87
"nest_asyncio ~= 1.0, >= 1.5.9",
# Already required by ComfyUI
"Pillow",
"aenum ~= 3.1"
]
# Transpiler
transpile = [
# Already required by ComfyUI (torch)
"networkx[default] ~= 3.0",
# Used to get nodes info
"comfy-script[client]",
"dynaconf ~= 3.0",
]
# Runtime
runtime = [
# Already required by ComfyUI
"Pillow",
"tqdm ~= 4.0",
"wrapt ~= 1.0",
"comfy-script[client]",
# Used to save script to images
"comfy-script[transpile]",
]
# Addtional nodes
# See docs/Nodes/README.md for details
nodes = [
"ComfyUI_Ib_CustomNodes >= 0.2.2",
"comfyui-tooling-nodes",
"civitai_comfy_nodes",
]
# Everything except UI (Jupyter and CLI)
no-ui = [
"comfy-script[client]",
"comfy-script[transpile]",
"comfy-script[runtime]",
"comfy-script[nodes]",
]
# Jupyter Notebook UI
jupyter = [
"ipywidgets ~= 8.1",
# Already required by ComfyUI
"Pillow",
"tqdm[notebook] ~= 4.0",
]
default = [
"comfy-script[no-ui]",
"comfy-script[jupyter]",
]
# CLI
# Currently, only transpiler has CLI.
cli = [
"click ~= 8.1",
]
# Solara UI
solara = [
"solara-ui[markdown] ~= 1.33",
# Already required by ComfyUI
"Pillow",
]
all = [
"comfy-script[default]",
"comfy-script[cli]",
"comfy-script[solara]",
]
[project.urls]
Homepage = "https://github.com/Chaoses-Ib/ComfyScript"
Issues = "https://github.com/Chaoses-Ib/ComfyScript/issues"
[project.entry-points."comfyui.custom_nodes"]
# https://github.com/comfyanonymous/ComfyUI/pull/298
comfy_script = "comfy_script.nodes"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# TODO: Exclude docs and examples in sdist?
[tool.hatch.envs.test]
dependencies = [
"pytest"
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]