2026-05-28 14:05:34 +09:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=68"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "uj-mastering-master"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"librosa",
|
|
|
|
|
"numpy",
|
|
|
|
|
"matplotlib",
|
|
|
|
|
"mutagen",
|
2026-05-30 00:42:45 +09:00
|
|
|
"pyloudnorm",
|
2026-05-28 14:05:34 +09:00
|
|
|
"PyQt5>=5.15.10",
|
|
|
|
|
# 5.15.2 is the only pyqt5-qt5 release with a Windows wheel; later
|
|
|
|
|
# versions are Linux/macOS only.
|
|
|
|
|
"PyQt5-Qt5==5.15.2 ; sys_platform == 'win32'",
|
2026-06-14 00:35:10 +09:00
|
|
|
"pyqtgraph>=0.14.0",
|
2026-05-28 14:05:34 +09:00
|
|
|
]
|
|
|
|
|
|
2026-08-21 01:06:46 +09:00
|
|
|
license = {text = "Apache-2.0"}
|
|
|
|
|
|
2026-09-14 01:44:48 +09:00
|
|
|
[project.optional-dependencies]
|
|
|
|
|
# Web front end (the `feature/web-ui` branch). Installed with:
|
|
|
|
|
# uv sync --extra web
|
|
|
|
|
# Deliberately separate from the desktop path: a server install of the web UI
|
|
|
|
|
# needs no Qt/wheel stack, and a desktop install needs no ASGI stack.
|
|
|
|
|
web = [
|
|
|
|
|
"fastapi>=0.110",
|
|
|
|
|
"uvicorn[standard]>=0.27",
|
|
|
|
|
"python-multipart>=0.0.9", # multipart upload parsing for FastAPI
|
|
|
|
|
]
|
|
|
|
|
|
2026-05-28 14:05:34 +09:00
|
|
|
[project.scripts]
|
|
|
|
|
ujm = "main:main"
|
2026-09-14 01:44:48 +09:00
|
|
|
ujm-web = "webapp:main"
|
2026-05-28 14:05:34 +09:00
|
|
|
|
|
|
|
|
[tool.setuptools]
|
|
|
|
|
py-modules = [
|
|
|
|
|
"main",
|
|
|
|
|
"analysis_results_manager",
|
|
|
|
|
"audio_visualization_widget",
|
|
|
|
|
"master_core",
|
2026-05-30 00:42:45 +09:00
|
|
|
"metrics",
|
2026-06-14 00:35:10 +09:00
|
|
|
"plotspec",
|
2026-05-28 14:05:34 +09:00
|
|
|
"font_manager",
|
2026-05-30 00:42:45 +09:00
|
|
|
"plot_control_widget",
|
2026-06-14 00:51:33 +09:00
|
|
|
"ref_line_widget",
|
2026-05-28 14:05:34 +09:00
|
|
|
"logger_setup",
|
|
|
|
|
"setup_fonts",
|
2026-09-14 01:44:48 +09:00
|
|
|
# web front end
|
|
|
|
|
"webapp",
|
|
|
|
|
"web_session",
|
|
|
|
|
"metrics_json",
|
2026-05-28 14:05:34 +09:00
|
|
|
]
|
2026-09-14 01:44:48 +09:00
|
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
|
|
|
|
# Vendored browser assets: uPlot (curves), no CDN at runtime. `webapp.py`
|
|
|
|
|
# resolves them relative to `__file__`, so on an installed wheel they must sit
|
|
|
|
|
# next to the modules — see `[tool.setuptools.data-files]` for the sdist path.
|
|
|
|
|
"*" = ["static/*"]
|
|
|
|
|
|
|
|
|
|
[tool.setuptools.data-files]
|
|
|
|
|
# The web assets live next to the *modules*, not in site-packages/static, so a
|
|
|
|
|
# wheel install needs them copied into the package directory. `MANIFEST.in`
|
|
|
|
|
# keeps them in the sdist; running from a checkout (the documented path) needs
|
|
|
|
|
# neither.
|
|
|
|
|
"lib/python-static" = ["static/*"]
|