- Dockerfile builds the npm bundle and serves the app with gunicorn - Gitea workflow runs tests, tags releases on main, pushes the image to the Gitea registry, and publishes to PyPI when PYPI_TOKEN is set - MANIFEST.in includes the built static bundle in distributions - License the project under BSD-3-Clause Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=77", "setuptools_scm[toml]>=8", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "privatestudio"
|
|
description = "Video transcoding tools with multi-profile H.264 encoding support"
|
|
readme = "notes.md"
|
|
license = "BSD-3-Clause"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"PyYAML>=6.0",
|
|
"Django~=6.1.0",
|
|
"django-ninja~=1.8",
|
|
"django-cors-headers~=4.9",
|
|
"dj-database-url~=3.1",
|
|
"whitenoise~=6.11.0",
|
|
"pytz~=2026.5",
|
|
"django-allauth[socialaccount]~=65.0.2",
|
|
"nh3==0.2.20",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"pytest-django>=4.14",
|
|
"boto3",
|
|
"build",
|
|
]
|
|
|
|
[project.scripts]
|
|
ps-transcode = "privatestudio.transcode:main"
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["privatestudio*"]
|
|
|
|
[tool.setuptools_scm]
|
|
write_to = "privatestudio/_version.py"
|
|
fallback_version = "0.1.0-dev"
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "privatestudio.settings.dev"
|