Rename to stealergram, add pyproject.toml, purge em-dashes
- 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>
This commit is contained in:
46
pyproject.toml
Normal file
46
pyproject.toml
Normal file
@@ -0,0 +1,46 @@
|
||||
[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"]
|
||||
Reference in New Issue
Block a user