aboutsummaryrefslogtreecommitdiff
path: root/lib/project/pyproject.toml
blob: 029cc918d242f79d9522d3a053600ef2ad403d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[build-system]
requires = ["hatchling==1.27.0"]
build-backend = "hatchling.build"

[project]
name = "producer"
version = "0.3.0"
description = "Local, configurable speech cleanup and podcast mastering"
license = "0BSD"
requires-python = ">=3.11"
dependencies = ["rich==14.1.0", "numpy>=1.26.4,<3", "soundfile==0.13.1"]

[project.optional-dependencies]
test = ["pytest>=8,<10", "httpx>=0.27,<1"]
# Installed only for the optional local browser GUI.
gui = ["fastapi>=0.115,<1", "uvicorn>=0.30,<1"]
# Preferred by producer.sh; falls back to a system FFmpeg where the wheel
# does not exist (for example musl systems).
bundled-ffmpeg = ["imageio-ffmpeg==0.6.0"]

[project.scripts]
producer = "producer.cli:main"

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.hatch.build.targets.wheel]
packages = ["src/producer"]

[tool.hatch.build.targets.sdist]
include = ["/src", "/tests", "/pyproject.toml"]