| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- [build-system]
- requires = ["setuptools>=68", "wheel"]
- build-backend = "setuptools.build_meta"
- [project]
- name = "hth-sdk"
- version = "0.1.0"
- description = "Python SDK for the hth Linux userspace high-temperature-hood API (gRPC over Unix sockets)."
- readme = "README.md"
- requires-python = ">=3.11"
- license = { text = "Proprietary" }
- authors = [{ name = "Prod2U host platform" }]
- dependencies = [
- "grpcio>=1.83.0,<2",
- "protobuf>=7.35.1,<8",
- ]
- keywords = ["hth", "grpc", "hood", "telemetry"]
- classifiers = [
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12",
- "Programming Language :: Python :: 3.13",
- "Framework :: AsyncIO",
- ]
- [project.optional-dependencies]
- dev = [
- "grpcio-tools>=1.83.0,<2",
- "pytest>=8",
- ]
- gen = [
- "grpcio-tools>=1.83.0,<2",
- ]
- [project.urls]
- Documentation = "https://local/host/docs/python-sdk-guide.zh-CN.md"
- [tool.setuptools.packages.find]
- where = ["."]
- include = ["hth_sdk*"]
- [tool.setuptools.package-data]
- hth_sdk = ["py.typed", "generated/README.md", "generated/**/*.py"]
- [tool.pytest.ini_options]
- testpaths = ["tests"]
- pythonpath = ["."]
- addopts = "-q"
- [tool.ruff]
- target-version = "py311"
- extend-exclude = ["hth_sdk/generated"]
- [tool.ruff.lint]
- select = ["E", "F", "W"]
- ignore = [
- "E501",
- "EXE002", # this workspace mount reports 0777 on all files
- ]
|