dmgbuild is a macOS command line utility and Python library for creating disk images (.dmg files). It provides a programmatic way to build DMGs with custom backgrounds, icons, and layout. The current version is 1.6.7, with a stable maintenance release cadence. Only works on macOS.
pip install dmgbuildVerified import paths — ran on the pinned version, not inferred.
Creates a simple disk image containing a single app.
Use only on macOS; for CI, use macOS runners.
Use Python >= 3.10 or pin dmgbuild to <1.6.0.
Always pass a list (even for one file): DMGObject('Volume', ['/path/to/app'])No dependency data recorded yet.