refactor: migrate to uv package manager with pyproject.toml

This commit is contained in:
2025-11-30 17:59:58 -05:00
parent 955b378240
commit f35c099f4a
5 changed files with 96 additions and 11 deletions

30
pyproject.toml Normal file
View File

@@ -0,0 +1,30 @@
[project]
name = "ffmpeg-worker"
version = "1.0.0"
description = "Dockerized FFmpeg worker with REST API"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.123.0",
"uvicorn[standard]>=0.38.0",
"pydantic>=2.12.5",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.1",
"requests>=2.32.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.uv]
dev-dependencies = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.1",
"requests>=2.32.0",
]