Files
2026-07-27 15:16:01 +02:00

69 lines
1.6 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "telegram-sticker-downloader"
description = "Download Telegram sticker packs into per-pack folders."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Latte" }]
keywords = ["telegram", "stickers", "downloader", "cli"]
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat",
"Topic :: Utilities",
]
dependencies = [
"python-telegram-bot>=21,<23",
"aiohttp>=3.9",
"python-dotenv>=1.0",
]
[project.optional-dependencies]
dev = ["pytest>=8", "pytest-asyncio>=0.24", "ruff>=0.6"]
[project.scripts]
tg-stickers = "sticker_downloader.cli:run"
[project.urls]
Homepage = "https://git.hiddenden.cafe/Hiddenden/telegram-sticker-downloader"
[tool.setuptools.dynamic]
version = { attr = "sticker_downloader.__version__" }
[tool.setuptools.packages.find]
include = ["sticker_downloader*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-q --strict-markers"
filterwarnings = ["error", "default::DeprecationWarning"]
[tool.ruff]
line-length = 90
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # bugbear
"SIM", # simplify
"RUF",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B008"]