pyproject.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "dibang-backend"
  6. version = "0.1.0"
  7. description = "FastAPI backend for the digital weighbridge system."
  8. readme = "README.md"
  9. requires-python = ">=3.11"
  10. dependencies = [
  11. "fastapi>=0.115.0,<1.0.0",
  12. "uvicorn[standard]>=0.32.0,<1.0.0",
  13. "sqlmodel>=0.0.22",
  14. "sqlalchemy>=2.0.36,<3.0.0",
  15. "asyncmy>=0.2.9,<1.0.0",
  16. "greenlet>=3.1.0,<4.0.0",
  17. "pydantic-settings>=2.6.0,<3.0.0",
  18. "python-dotenv>=1.0.1,<2.0.0",
  19. "structlog>=24.4.0,<25.0.0",
  20. "alembic>=1.14.0,<2.0.0",
  21. "orjson>=3.10.7,<4.0.0",
  22. "passlib[bcrypt]>=1.7.4,<2.0.0",
  23. "pyjwt[crypto]>=2.10.1,<3.0.0",
  24. "httpx>=0.28.1,<1.0.0",
  25. ]
  26. [project.optional-dependencies]
  27. dev = [
  28. "pytest>=8.3.3,<9.0.0",
  29. "pytest-asyncio>=0.23.8,<1.0.0",
  30. "ruff>=0.7.4,<1.0.0",
  31. "mypy>=1.13.0,<2.0.0",
  32. ]
  33. [dependency-groups]
  34. dev = ["dibang-backend[dev]"]
  35. [tool.hatch.build.targets.wheel]
  36. packages = ["app"]
  37. [tool.hatch.build.targets.sdist]
  38. include = ["app", "README.md", "pyproject.toml"]