-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
60 lines (51 loc) · 1.21 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
[project]
name = "sertn-avs"
version = "0.1.0"
description = "Sertn AVS Client"
authors = []
requires-python = ">=3.10,<3.13"
dependencies = [
"typer>=0.9.0",
"tqdm>=4.66.2",
"pydantic>=2.6.3",
"web3>=6.15.1",
"pyyaml>=6.0.2",
"eth-account>=0.13.5",
"fastapi>=0.115.12",
"uvicorn>=0.34.0",
"packaging>=24.2",
"torch==2.4.1",
"ezkl==19.0.7",
"onnxruntime>=1.21.1",
"eth-abi>=5.2.0",
"python-dotenv>=1.1.1",
"gitpython>=3.1.45",
"cachetools>=6.2.1",
"pymemcache>=4.0.0",
"starlette>=0.49.1",
]
[project.optional-dependencies]
test = ["pytest>=8.0.0", "pytest-asyncio>=0.23.5", "pytest-cov>=4.1.0"]
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
packages = ["common", "avs_operator", "aggregator"]
[tool.ruff]
line-length = 120
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v"
pythonpath = ["src"]
[project.scripts]
sertn = "main:app"
[tool.uv.sources]
torch = { index = "pytorch" }
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[dependency-groups]
dev = ["httpx>=0.28.1", "pytest>=8.3.5", "pytest-mock>=3.14.1"]