CI / Build and push docker image (push) Successful in 2m52s
- Launcher now only injects --interface/--host/--port when the matching GRANIAN_* env var is unset, so every granian option (GRANIAN_LOOP, GRANIAN_WORKERS, GRANIAN_HTTP, GRANIAN_HOST, GRANIAN_PORT, ...) can be configured via granian's standard GRANIAN_* environment variables - Add the rloop event loop as a runtime dependency so GRANIAN_LOOP=rloop works out of the box (previously failed with a missing 'rloop' package)
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kaya-rbcs"
|
|
dynamic = ["version"]
|
|
description = "Simplified clone of RBCS (Remote Build Cache Server) built on the Kaya web framework"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
classifiers = [
|
|
'Development Status :: 3 - Alpha',
|
|
'Topic :: Utilities',
|
|
'Intended Audience :: Developers',
|
|
'Environment :: Console',
|
|
'Programming Language :: Python :: 3',
|
|
]
|
|
|
|
dependencies = [
|
|
"kaya-core",
|
|
"aiomcache",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
server = [
|
|
"kaya-rsgi",
|
|
"granian",
|
|
"rloop",
|
|
]
|
|
dev = [
|
|
"httpx",
|
|
"mypy",
|
|
]
|
|
|
|
[project.scripts]
|
|
rbcs-server = "kaya_rbcs:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
namespaces = true
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
disallow_untyped_defs = true
|
|
show_error_codes = true
|
|
no_implicit_optional = true
|
|
warn_return_any = true
|
|
warn_unused_ignores = true
|
|
strict = true
|
|
exclude = ["tests"]
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = { attr = "kaya_rbcs.__version__" }
|