mth5.utils.build_standalone_validator
Builds a lightweight executable (~20-30 MB) that only depends on h5py.
Much smaller and simpler than the full mth5-based validator because: - No scipy/numpy/obspy dependencies - No matplotlib/pandas dependencies - No mth5 I/O stack - Just h5py + standard library
- Usage:
python build_standalone_validator.py
- Output:
dist/mth5-validator.exe (Windows) - ~20-30 MB dist/mth5-validator (Linux/Mac)
Author: MTH5 Development Team Date: February 9, 2026
Functions
Check that required dependencies are installed. |
|
Clean previous build artifacts. |
|
Build the standalone validator executable. |
|
Test the built executable. |
|
Print build summary and usage instructions. |
|
|
Main build process. |
Module Contents
- mth5.utils.build_standalone_validator.check_dependencies()[source]
Check that required dependencies are installed.
- mth5.utils.build_standalone_validator.build_executable()[source]
Build the standalone validator executable.