mirror of
https://github.com/tiennm99/telegram-exporter.git
synced 2026-10-11 03:13:49 +00:00
Telethon 2.0 is alpha with a renamed API surface, hence the <2 bound. requirements.txt records 1.44.0, the version the API probes were run against, so a later resolver bump cannot silently change the semantics the traversal depends on.
26 lines
688 B
TOML
26 lines
688 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "telegram-exporter"
|
|
version = "0.1.0"
|
|
description = "Export all media from a Telegram group to local disk, grouped by post, resumably."
|
|
requires-python = ">=3.12"
|
|
license = { file = "LICENSE" }
|
|
# Telethon 2.0 is alpha with a renamed API surface. requirements.txt pins the
|
|
# exact version the API probes were verified against.
|
|
dependencies = ["telethon>=1.41,<2"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8"]
|
|
|
|
[project.scripts]
|
|
tg-export = "telegram_exporter.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/telegram_exporter"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|