|
|
@@ -1,6 +1,6 @@
|
|
|
# Todo 15 Static Package Data Plan
|
|
|
|
|
|
-**Status:** in_progress
|
|
|
+**Status:** done
|
|
|
|
|
|
## Goal
|
|
|
|
|
|
@@ -53,8 +53,15 @@ unzip -l dist/agent_lab-0.1.0-py3-none-any.whl | rg "agent_lab/presentation/stat
|
|
|
|
|
|
## Verification
|
|
|
|
|
|
-Expected result:
|
|
|
+Result:
|
|
|
|
|
|
-- Packaging test passes.
|
|
|
-- Full suite passes.
|
|
|
-- Built wheel contains the three static UI files.
|
|
|
+- Red run passed as expected: `tests/test_packaging.py` failed because `tool.setuptools.package-data` was missing.
|
|
|
+- `uv run pytest tests/test_packaging.py` passed.
|
|
|
+- `uv run pytest` passed: 35 tests, 1 existing Starlette deprecation warning.
|
|
|
+- `uv build` passed after rerunning with permission to access the user uv cache.
|
|
|
+- `unzip -l dist/agent_lab-0.1.0-py3-none-any.whl | rg "agent_lab/presentation/static/(index.html|app.js|styles.css)"` found all three static UI assets.
|
|
|
+
|
|
|
+## Evaluation
|
|
|
+
|
|
|
+- `pyproject.toml` now declares package data for static HTML, JS, and CSS.
|
|
|
+- The built wheel contains `agent_lab/presentation/static/index.html`, `app.js`, and `styles.css`.
|