forked from viamrobotics/viam-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
96 lines (86 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
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
[project]
name = "viam-sdk"
description = "Viam Robotics Python SDK"
authors = [
{name = "Naveed Jooma", email = "naveed@viam.com" }
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.10"
dynamic = [
'version',
]
dependencies = [
"grpclib>=0.4.9",
"protobuf==6.33.5",
"typing-extensions>=4.15.0",
"pymongo>=4.10.1",
"googleapis-common-protos>=1.73.0",
]
[dependency-groups]
dev = [
"coverage>=7.13.4",
"mypy-protobuf>=5.0.0",
"myst-nb>=1.4.0",
"nbmake>=1.5.5",
"numpy<2.3.0; python_version<'3.11'",
"numpy>=1.3.0; python_version>='3.11'",
"pillow>=12.1.1",
"pyright>=1.1.401",
"pytest-asyncio>=1.3.0",
"pytest>=9.0.2",
"ruff>=0.15.5",
"sphinx-autoapi>=3.7.0",
"sphinx-rtd-theme>=3.1.0",
]
[project.urls]
Homepage = "https://www.viam.com"
Documentation = "https://python.viam.dev"
Repository = "https://github.com/viamrobotics/viam-python-sdk"
[project.optional-dependencies]
mlmodel = [
"numpy",
"packaging",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/viam/version_metadata.py"
[tool.hatch.build.targets.wheel]
packages = ["src/viam"]
artifacts = ["src/viam/rpc/libviam_rust_utils.*"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = "tests"
asyncio_mode = "auto"
[tool.coverage.run]
omit = [ "*/gen/*", "*/proto/*" ]
[tool.pyright]
include = [ "src" ]
exclude = [ "**/gen", "**/proto" ]
[tool.ruff]
line-length = 140
exclude = [
".direnv",
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"venv",
"gen",
"*_grpc.py",
"*_pb2.py",
"*.pyi",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]