Files
stealergram/pyproject.toml
anti 6a118db573 Fix pyproject.toml build backend
setuptools.backends.legacy does not exist; correct value is setuptools.build_meta.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 10:21:04 -04:00

47 lines
866 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "stealergram"
version = "0.1.0"
description = "Telegram channel monitor - downloads, extracts, scores, and alerts on credential leaks"
requires-python = ">=3.11"
dependencies = [
# Telegram
"telethon",
"tgcrypto",
# TUI
"textual",
# Config
"python-dotenv",
# Progress bars (CLI mode)
"tqdm",
# Archive extraction
"py7zr",
"rarfile",
]
[project.optional-dependencies]
web = [
"fastapi",
"uvicorn[standard]",
"jinja2",
"python-multipart",
"bcrypt",
"python-jose[cryptography]",
]
dev = [
"pytest",
]
[project.scripts]
stealergram = "main:main"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "data*", "logs*", "tmp*"]
[tool.pytest.ini_options]
testpaths = ["tests"]