Skip to Content
Python GUI Programming with Tkinter
book

Python GUI Programming with Tkinter

by Alan D. Moore
May 2018
Beginner to intermediate content levelBeginner to intermediate
452 pages
11h 26m
English
Packt Publishing
Content preview from Python GUI Programming with Tkinter

Building macOS .dmg files

Applications on macOS are generally distributed inside a compressed disk image (.dmg) file. cx_Freeze allows you to go one step further and bundle your package into a DMG file directly.

This is done using bdist_dmg by executing the following command line:

python3 cxsetup.py bdist_dmg

This command runs bdist_mac and then packages the resulting bundle into a DMG file. The configuration options for bdist_dmg allow you to override the filename and include a shortcut to the /Applications directory for easy installation. The built file will appear in the build directory, and you can copy it from there to another Macintosh to be mounted and used.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python GUI Programming with Tkinter - Second Edition

Python GUI Programming with Tkinter - Second Edition

Alan D. Moore

Publisher Resources

ISBN: 9781788835886Supplemental Content