43 lines
914 B
TOML
43 lines
914 B
TOML
[project]
|
|
name = "trex-core"
|
|
version = "0.9.0"
|
|
description = "Shared core for the trex product family; first domain: slot lifecycle (storage-agnostic pure domain)"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"psycopg[binary]>=3.1",
|
|
"python-dotenv>=1.0",
|
|
"redis>=5",
|
|
"httpx>=0.27",
|
|
"pika>=1.3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8",
|
|
"PyYAML>=6",
|
|
"ruff>=0.4",
|
|
]
|
|
|
|
[project.scripts]
|
|
trex-core-daemon = "trex_core.runtime.daemon:main"
|
|
trex-core = "trex_core.runtime.cli:main"
|
|
trex-core-reset = "trex_core.runtime.reset:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["trex_core*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"trex_core.adapters.persistence" = ["sql/*.sql"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|