Add uv support, systemd service, and deployment tooling
- pyproject.toml: uv-native project definition (replaces requirements.txt for uv users) - requirements.txt: kept for pip compatibility - deploy/jigaido-bot.service: systemd service file (copy to /etc/systemd/system/) - deploy/setup.sh: automated deployment script - README.md: updated with uv instructions, tmux, and systemd setup
This commit is contained in:
22
apps/telegram-bot/pyproject.toml
Normal file
22
apps/telegram-bot/pyproject.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
[project]
|
||||
name = "jigaido-telegram-bot"
|
||||
version = "0.1.0"
|
||||
description = "Telegram bounty tracker for JIGAIDO"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"python-telegram-bot>=21.6",
|
||||
"dateparser>=1.2.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.3.5",
|
||||
"pytest-asyncio>=0.25.2",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
python_classes = ["Test*"]
|
||||
python_functions = ["test_*"]
|
||||
asyncio_mode = "auto"
|
||||
Reference in New Issue
Block a user