mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-25 20:29:48 +00:00
* feat: add simplex-support-bot-light * feat: package simplex-support-bot-light for docker * docs: document simplex-support-bot-light * fix: make a missing config actionable and bounded * docs: note the attached compose Ctrl+C behaviour * refactor: use the library for startup and custom data * refactor: drop the display-name workaround * style: shorten the startup comment * build: build the core and the library into the image * docs: correct where the image type rule comes from * fix: log what the core said a command got wrong * build: run the container as the operator's uid * docs: keep the container uid in .env * docs: tighten the README
36 lines
851 B
TOML
36 lines
851 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.24"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "simplex-support-bot-light"
|
|
version = "0.1.0"
|
|
description = "SimpleX bot that adds a self-service roster to incoming business chats"
|
|
readme = "README.md"
|
|
license = "AGPL-3.0-only"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["simplex-chat>=7.1.0b0"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "pytest-asyncio>=0.23", "pyright>=1.1.380", "ruff>=0.6"]
|
|
|
|
[project.scripts]
|
|
support-bot-light = "support_bot_light.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/support_bot_light"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.pyright]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
include = ["src/support_bot_light"]
|
|
exclude = ["**/__pycache__", "**/.venv*"]
|