-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (63 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (63 loc) · 1.77 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
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "blacknode"
version = "0.1.0"
description = "Houdini-style node graph for AI agents and scene assembly"
license = { text = "Apache-2.0" }
requires-python = ">=3.11"
dependencies = [
"anthropic>=0.25",
"docker>=7.1",
"openai>=1.0",
]
[project.optional-dependencies]
dev = [
"fastapi>=0.110",
"httpx>=0.27",
"mcp>=1.0",
"pytest",
]
mcp = [
"mcp>=1.0",
]
rust = [
"maturin>=1.0,<2.0",
]
slack = [
"slack_bolt>=1.18",
"slack_sdk>=3.27",
]
telegram = [
"python-telegram-bot>=20",
]
# Deps for the packages/blacknode-cuda extension package (CUDAKernelLab etc.).
# Requires an NVIDIA GPU + CUDA 12.x. Same as its requirements.txt.
gpu = [
"cupy-cuda12x>=13",
"numpy>=1.24",
"pillow>=10",
]
[project.scripts]
blacknode = "blacknode.cli:main"
[tool.setuptools]
package-dir = { "" = "python" }
[tool.setuptools.packages.find]
where = ["python"]
[tool.pytest.ini_options]
# Collect only the real suite. Without this, a bare `pytest` (as CI runs) also
# globs stray `*_test.py` dev scripts under scripts/, whose top-level code can
# abort collection. The glob picks up the test suite of every extension
# package cloned into packages/, so `pytest` from the repo root tests core and
# installed packages together. Package test filenames must be unique across
# packages (prefix them with the package name).
testpaths = ["tests", "packages/*/tests"]
# When the Rust core ships (roadmap milestone 2), restore the maturin backend:
# [build-system]
# requires = ["maturin>=1.0,<2.0"]
# build-backend = "maturin"
# [tool.maturin]
# features = ["pyo3/extension-module"]
# python-source = "python"
# module-name = "blacknode.blacknode_rs"