[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "rtube"
version = "0.9.1"
description = "Streaming platform from scratch"
readme = "readme.md"
license = "MIT"
authors = [
    { name = "Richard Dally" }
]
requires-python = ">=3.11"
dependencies = [
    "Flask>=3.0.0",
    "flask-sqlalchemy>=3.0.0",
    "flask-login>=0.6.0",
    "flask-migrate>=4.0.0",
    "flask-session>=0.8.0",
    "flask-oidc>=2.2.0",
    "argon2-cffi>=23.1.0",
    "psycopg2-binary",
    "python-ffmpeg-video-streaming==0.1.14",
    "python-dotenv>=1.2.1",
    "gunicorn>=23.0.0",
    "httpx>=0.28.1",
]

[project.urls]
Homepage = "https://github.com/RichardDally/RTube"
Repository = "https://github.com/RichardDally/RTube"

[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests", "tests.*"]

[tool.setuptools.package-data]
rtube = [
    "templates/**/*.html",
    "static/js/*.js",
    "static/package.json",
    "static/package-lock.json",
    "static/favicon.ico",
    "static/favicon.png",
    "static/logo_transparent.png",
]

[dependency-groups]
dev = [
    "ruff",
    "pytest>=9.0.2",
    "pytest-dotenv>=0.5.2",
    "typer>=0.9.0",
]
