-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (74 loc) · 2.43 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (74 loc) · 2.43 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
[project]
name = "rdp-sdk-python"
dynamic = ["version"]
description = "Python SDK for client applications interacting with RDP."
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
keywords = ["rdp", "raft", "sdk", "connectrpc"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
dependencies = [
"protobuf>=7.35.1",
"raft-wdm-protocolbuffers-python==35.1.0.1.20260717145038+489cef7b7304",
"structlog>=24.0",
"connectrpc>=0.9.0,<1.0", # Pin to pre-1.0; 1.0 may have breaking protobuf changes
"httpx>=0.27", # Async HTTP for OAuth2 token fetch + TLS skip transport
"python-dotenv>=1.0", # .env file loading for config
]
[project.urls]
Documentation = "https://developer.teamraft.com"
Homepage = "https://developer.teamraft.com"
Repository = "https://github.com/raft-tech/rdp-sdk-python"
Issues = "https://github.com/raft-tech/rdp-sdk-python/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=6.0",
"ruff>=0.9",
"mypy>=1.14",
"mypy-protobuf>=3.6",
"raft-wdm-protocolbuffers-pyi==35.1.0.1.20260717145038+489cef7b7304",
"pydoc-markdown>=4.8",
"twine>=6.0",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
# Read the version from the most recent `v*` git tag at build time. The
# The repository root is this project directory, so hatch-vcs reads tags
# directly from the local SDK repository.
[tool.hatch.version]
source = "vcs"
raw-options = { root = ".", search_parent_directories = true }
[tool.hatch.build.targets.wheel]
packages = ["src/rdp_sdk"]
[tool.hatch.build.targets.sdist]
include = ["src/", "pyproject.toml", "uv.lock", "ruff.toml", "README.md", "LICENSE"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.coverage.run]
source = ["rdp_sdk"]
[tool.mypy]
strict = true
python_version = "3.12"
exclude = ["examples/"]
[[tool.mypy.overrides]]
module = ["connectrpc.*", "pyqwest.*"]
ignore_missing_imports = true
[tool.uv.sources]
raft-wdm-protocolbuffers-python = { index = "buf" }
raft-wdm-protocolbuffers-pyi = { index = "buf" }
[[tool.uv.index]]
name = "buf"
url = "https://buf.build/gen/python"
explicit = true