Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (56 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (56 loc) · 2.01 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
[project]
name = "spacewave-resource"
version = "0.0.0"
requires-python = ">=3.11,<3.12"
dependencies = [
"aperturerobotics-util @ git+https://github.com/aperturerobotics/util.git@104de78e8992f52da60788d11e6d25ba0070d9bc",
"go-prometheus-client-lite @ git+https://github.com/aperturerobotics/go-prometheus-client-lite.git@92147463582b194318f1198ae4c61df0cb112c87",
"starpc @ git+https://github.com/aperturerobotics/starpc.git@60aebb7f3a140f0772a63269afce10859d45b27f",
]
[dependency-groups]
dev = [
"mypy==2.4.0",
# The StarPC generator supplies Ruff for formatting and linting.
"starpc-python-plugin @ git+https://github.com/aperturerobotics/starpc.git@60aebb7f3a140f0772a63269afce10859d45b27f#subdirectory=python/plugin",
"types-protobuf==7.35.1.20260906",
]
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["spacewave_resource*", "bldr.resource", "core*", "db*", "net*", "sdk*"]
# The libdeflate binding keeps its vendoring script beside the Go source.
exclude = ["db.block.transform.gzip.libdeflate"]
namespaces = true
[tool.setuptools.package-data]
spacewave_resource = ["py.typed"]
"bldr.resource" = ["py.typed"]
core = ["py.typed"]
db = ["py.typed"]
net = ["py.typed"]
sdk = ["py.typed"]
[tool.mypy]
strict = true
# The generated message stubs annotate map fields as a bare Mapping.
[[tool.mypy.overrides]]
module = [
"bldr.resource.resource_pb2",
"core.account.settings.settings_pb2",
"core.changelog.changelog_pb2",
"core.pairing.pairing_pb2",
"core.provider.provider_pb2",
"core.provider.transfer.transfer_pb2",
"core.session.session_pb2",
"core.sobject.sobject_pb2",
"core.space.space_pb2",
"db.block.store.s3.s3_pb2",
"db.block.transform.transform_pb2",
"net.hash.hash_pb2",
"net.peer.peer_pb2",
"rpcstream.rpcstream_pb2",
"sdk.command.command_pb2",
"sdk.root.root_pb2",
"sdk.secret.secret_pb2",
"sdk.session.session_pb2",
]
disable_error_code = ["type-arg"]