Installable package with procedure library as data files !2

merged merged by cmc on 2026-10-29 20:17 UTC · audit-labs/audit-tools:installable-package into main

Discussion

cmc
  • pyproject.toml: packages tui, applications.*, sampling, sampling.sampling_tool; commands audit-sample and audit-tui; the SQL/OS procedure library and sampling/examples as data files under <prefix>/share/audit-tools/.
  • sampling/__init__.py so sampling.sampling_tool is a regular package.
  • Package names stay top-level (tui, applications, sampling) to keep existing imports and tests unchanged; moving them under one audit_tools namespace would avoid name clashes in site-packages but rewrites every import.
  • Needed by audit-workbench roadmap 2.0 (run from a wheel with no sibling checkout).
  • Tests: 45 passed before and after (tui/tests/test_app.py needs textual, not installed here). Wheel contents checked.