# Source-distribution contents. The wheel's package data is declared in # pyproject.toml ([tool.setuptools.package-data]); this file makes `python -m # build` (which builds the wheel FROM the sdist) also carry the prebuilt web UI, # so the bundled dashboard survives the sdist -> wheel round-trip. # # netadmin/_webui/ is a build artifact (produced by `python tools/build_web.py`, # not tracked in git), so it is grafted here explicitly rather than via VCS. graft netadmin/_webui # Numbered SQL migrations applied at store startup — runtime data, must ship. recursive-include netadmin/store/migrations *.sql # Device-capability KB read by netadmin/detect/device_kb.py. Also declared in # pyproject.toml [tool.setuptools.package-data]; stated here too for the same # reason the migrations are: an install that silently loses this file still # starts, and the only symptom is detectors quietly running with no device # knowledge base. recursive-include netadmin/data *.json include README.md include LICENSE include requirements.txt # Keep bytecode / caches out of the distribution. global-exclude __pycache__ *.py[cod] *.so .DS_Store