Dispatcharr/pyproject.toml
SergeantPanda 4e05917cc4 refactor(database): update PostgreSQL connection settings and switch to Django's native psycopg_pool
- Changed psycopg dependency to include connection pooling.
- Removed geventpool settings and added new database pool configuration options.
- Updated database engine to use Django's native PostgreSQL backend with connection health checks.
2026-06-12 13:43:02 -05:00

58 lines
1.2 KiB
TOML

[project]
name = "dispatcharr"
description = "Dispatcharr - Stream dispatching and management"
readme = "README.md"
license = "AGPL-3.0-only"
requires-python = ">=3.13"
dynamic = ["version"]
dependencies = [
"Django==6.0.5",
"psycopg[binary,pool]",
"celery[redis]==5.6.3",
"djangorestframework==3.17.1",
"requests==2.33.1",
"psutil==7.2.2",
"pillow",
"drf-spectacular>=0.29.0",
"streamlink",
"python-vlc",
"yt-dlp",
"gevent==26.4.0",
"daphne",
"uwsgi",
"django-cors-headers",
"djangorestframework-simplejwt",
"m3u8",
"rapidfuzz==3.14.5",
"regex",
"tzlocal",
"pytz",
"torch==2.11.0+cpu",
"sentence-transformers==5.4.1",
"channels",
"channels-redis==4.3.0",
"django-filter",
"django-redis",
"django-celery-beat>=2.9.0",
"lxml==6.1.0",
"packaging",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# PyTorch CPU-only wheels index
[[tool.uv.index]]
url = "https://download.pytorch.org/whl/cpu"
name = "pytorch-cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
[tool.hatch.build.targets.wheel]
packages = ["dispatcharr", "apps", "core"]
[tool.hatch.version]
path = "version.py"