Move to uv

This commit is contained in:
2025-02-19 15:55:49 +01:00
parent 5648bfa024
commit f907892769
5 changed files with 1236 additions and 2200 deletions

View File

@@ -1,30 +1,34 @@
[tool.poetry]
[project]
name = "discord-bot"
version = "0.1.0"
description = ""
authors = ["Bulat Kurbanov <kurbanovbul@gmail.com>"]
authors = [{ name = "Bulat Kurbanov", email = "kurbanovbul@gmail.com" }]
requires-python = "~=3.12"
readme = "README.md"
packages = [{include = "discord_bot"}]
dependencies = [
"discord-py>=2.4.0,<3",
"twitchapi>=4.4.0,<5",
"pydantic>=2.10.5,<3",
"pydantic-settings>=2.7.1,<3",
"httpx>=0.28.1,<0.29",
"icalendar>=6.1.0,<7",
"pytz~=2024.2",
"mongojet>=0.2.7,<0.3",
"taskiq>=0.11.11,<0.12",
"taskiq-redis>=1.0.2,<2",
"redis[hiredis]>=5.2.1,<6",
"fastapi>=0.115.8,<0.116",
"authx>=1.4.1,<2",
"httpx-oauth>=0.16.1,<0.17",
"uvicorn[standard]>=0.34.0,<0.35",
]
[tool.poetry.dependencies]
python = "^3.11"
discord-py = "^2.4.0"
twitchapi = "^4.4.0"
pydantic = "^2.10.5"
pydantic-settings = "^2.7.1"
httpx = "^0.28.1"
icalendar = "^6.1.0"
pytz = "^2024.2"
mongojet = "^0.2.7"
taskiq = "^0.11.11"
taskiq-redis = "^1.0.2"
redis = {extras = ["hiredis"], version = "^5.2.1"}
fastapi = "^0.115.8"
authx = "^1.4.1"
httpx-oauth = "^0.16.1"
uvicorn = {extras = ["standard"], version = "^0.34.0"}
[tool.hatch.build.targets.sdist]
include = ["discord_bot"]
[tool.hatch.build.targets.wheel]
include = ["discord_bot"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"