- Rename project to stealergram throughout - Add pyproject.toml (replaces requirements.txt split, folds pytest.ini) - Replace all em-dashes with hyphens across all source files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
877 B
TOML
47 lines
877 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.backends.legacy:build"
|
|
|
|
[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"]
|