1e53178676
hardcoded ~/Music path broke on any non-standard setup. `music_base_path` on root CLI and `Command` base reads from $MUSIC_BASE_PATH. `seasons()` and `current_quarter()` now take the path explicitly. adds .env.example, .envrc, and a pytest covering --help output.
32 lines
708 B
TOML
32 lines
708 B
TOML
[project]
|
|
name = "music"
|
|
version = "0.1.0"
|
|
description = "music utilies"
|
|
readme = "README.md"
|
|
authors = [{ name = "publicmatt", email = "git@publicmatt.com" }]
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"audioop-lts>=0.2.2 ; python_full_version >= '3.13'",
|
|
"click>=8.1.8",
|
|
"duckdb>=1.1.0",
|
|
"mpv>=1.0.7",
|
|
"mutagen>=1.47.0",
|
|
"pydantic>=2.0",
|
|
"pydantic-settings>=2.12.0",
|
|
"requests>=2.32.3",
|
|
"shazamio>=0.8.1",
|
|
"structlog>=25.5.0",
|
|
"yt-dlp>=2025.1.15",
|
|
]
|
|
|
|
[project.scripts]
|
|
music = "music.__main__:cli"
|
|
stream = "music.__main__:stream"
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|