Skip to content

Instantly share code, notes, and snippets.

@Kvnbbg
Kvnbbg / make_dmg.sh
Last active October 13, 2024 14:50 — forked from HuangJiaLian/make_dmg.sh
Two steps to turn a Python file to a macOS installer
#!/bin/sh
# References
# https://www.pythonguis.com/tutorials/packaging-pyqt5-applications-pyinstaller-macos-dmg/
# https://medium.com/@jackhuang.wz/in-just-two-steps-you-can-turn-a-python-script-into-a-macos-application-installer-6e21bce2ee71
# ---------------------------------------
# Clean up previous builds
# ---------------------------------------