Problem using cx_Freeze

Dennis Lee Bieber wlfraed at ix.netcom.com
Mon Aug 15 18:45:05 EDT 2022


On Mon, 15 Aug 2022 10:30:41 -0600, David at Booomer <david at boomer.org>
declaimed the following:

>I’m trying to use cx_Freeze (https://pypi.org/project/cx-Freeze/) in a python app but running into an error message:
>
>AttributeError: module 'cx_Freeze' has no attribute ‘BdistDMG’

	What operating system? BdistDMG appears to be a Macintosh OS module --
something to do with disk images

https://cx-freeze.readthedocs.io/en/latest/setup_script.html
"""
On Windows, you can build a simple installer containing all the files
cx_Freeze includes for your application, by running the setup script as:

    python setup.py bdist_msi

On Mac OS X, you can use bdist_dmg to build a Mac disk image.
"""

	Note the command syntax and last line...


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed at ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/


More information about the Python-list mailing list