-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (43 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
49 lines (43 loc) · 1.18 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
[project]
name = "knarr"
version = "0.57.0"
description = "Peer-to-peer exchange protocol for autonomous agents"
requires-python = ">=3.11"
license = {text = "MIT"}
dependencies = [
"pynacl>=1.5.0",
"cryptography>=42.0",
]
[project.scripts]
knarr = "knarr.cli.main:main"
knarr-watchman = "knarr.watchman.main:main"
[project.optional-dependencies]
bcw = [
"websockets>=12.0",
]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.23",
]
upnp = [
"miniupnpc>=2.0",
]
# Tor plugin v1.1 (§10.1, O-11): python-socks is an OPTIONAL extra, not a
# hard dependency. Operators opt in via `pip install knarr[tor]`. Non-Tor
# operators don't carry the ~200KB dep or its CVE surface. TorPlugin imports
# python_socks.async_.asyncio lazily inside on_init and, on ImportError,
# emits `tor.dependency_missing` and becomes a no-op.
tor = [
"python-socks[asyncio]>=2.4,<3.0",
]
[tool.setuptools.package-data]
"knarr.dashboard" = ["*.html", "*.js", "*.css"]
"knarr.migrations" = ["*.sql"]
"*" = ["plugin.toml", "exposure_schema.toml"]
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
timeout = 30