Packages oMLX as a macOS menubar app using venvstacks.
pip install venvstackscd packaging
# Full build (venvstacks + app bundle + DMG)
python build.py
# Skip venvstacks build (use existing environment)
python build.py --skip-venv
# DMG only (use existing build)
python build.py --dmg-only
packaging/ ├── build/ │ ├── venvstacks/ # venvstacks build cache │ ├── envs/ # Exported environments │ └── oMLX.app/ # App bundle └── dist/ └── oMLX-<version>.dmg # Distribution DMG
oMLX.app/ ├── Contents/ │ ├── Info.plist │ ├── MacOS/ │ │ └── oMLX # Launcher script │ ├── Resources/ │ │ ├── omlx_app/ # Menubar app │ │ ├── omlx/ # oMLX server │ │ └── AppIcon.icns │ └── Frameworks/ │ ├── cpython3.11/ # Python runtime │ ├── mlx-framework/ # MLX + dependencies │ └── omlx-app/ # App layer
| Layer | Contents |
|---|---|
| Runtime | Python 3.11 |
| Framework | MLX, mlx-lm, mlx-vlm, FastAPI, transformers |
| Application | rumps, PyObjC |