pyproject.toml 789 B

123456789101112131415161718192021222324252627282930
  1. [build-system]
  2. requires = ["setuptools>=77"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "xjkj-stl-backend"
  6. version = "0.8.1.12"
  7. description = "Four-station memory thermal test backend with WebSocket and gRPC"
  8. readme = "README.md"
  9. requires-python = ">=3.11"
  10. dependencies = ["grpcio==1.84.0", "protobuf==7.36.2", "aiohttp==3.14.5"]
  11. [project.optional-dependencies]
  12. dev = ["grpcio-tools==1.84.0", "pytest>=8,<10", "pytest-asyncio>=1,<2"]
  13. [project.scripts]
  14. stl-server = "stl_backend.server:main"
  15. stl-client = "stl_backend.cli:main"
  16. [tool.setuptools.packages.find]
  17. where = ["src"]
  18. [tool.setuptools.package-data]
  19. stl_backend = ["web/*.html", "web/*.css", "web/*.js", "domain/*.json"]
  20. [tool.pytest.ini_options]
  21. asyncio_mode = "auto"
  22. pythonpath = ["src"]
  23. testpaths = ["tests"]