Files
uj-mastering-master/static/__init__.py
T

12 lines
602 B
Python
Raw Normal View History

2026-09-14 01:57:00 +09:00
"""Packaging shim — not an importable Python module.
`static/` holds the web UI's browser assets (HTML, JS, CSS, vendored uPlot).
It is declared as a setuptools *package* purely so `[tool.setuptools.package-data]`
has a package to attach the assets to. Without this file the directory is not a
package, `package-data` matches nothing, and the built wheel ships without any
assets at all — leaving an installed `ujm-web` serving 404s for every file.
Nothing imports it. `webapp.py` reads the directory from disk via
`Path(__file__).parent / "static"`, so the empty module has no runtime role.
"""