12 lines
602 B
Python
12 lines
602 B
Python
|
|
"""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.
|
||
|
|
"""
|