hatch
ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° strict type ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ Π΄Π»Ρ Pylance Π΄Π»Ρ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ ΡΠ²ΠΎΠΈΡ
[build-system]
requires = ["hatchling", "hatch-build-scripts"]
build-backend = "hatchling.build"
[project]
name = "bot-service"
version = "0.1.0"
description = "Telegram Bot Service"
requires-python = "==3.13.*"
dependencies = [
"httpx==0.27.0",
"openai==2.2.0",
"pydantic-settings==2.2.1",
"python-telegram-bot==22.5",
"python-telegram-bot[job-queue]==22.5",
"pytz==2024.1"
]
[tool.hatch.build.targets.wheel]
only-include = [
"src/code",
]
# ΠΠΊΠ»ΡΡΠ°Π΅ΠΌ py.typed ΠΈ Π²ΡΠ΅ .pyi ΡΠ°ΠΉΠ»Ρ
[tool.hatch.build.targets.wheel.force-include]
"src/code/py.typed" = "my/package/py.typed"
[tool.hatch.build.targets.wheel.sources]
"src/code" = "my/package"
Last updated