bdist_mac

This command is available on macOS systems, to create a macOS application bundle (a .app directory).

cxfreeze bdist_mac
python setup.py bdist_mac

The following options are available for the command:

iconfile

Path to an icns icon file for the application. This will be copied into the bundle.

qt-menu-nib

Path to the qt-menu.nib file for Qt applications. By default, it will be auto-detected.

bundle-name

File name for the bundle application without the .app extension.

plist-items

A list of key-value pairs (type: list[tuple[str, str]]) to be added to the app bundle Info.plist file. Overrides any specific entries set by custom-info-plist or by default.

custom-info-plist

File to be used as the Info.plist in the app bundle. If not specified, a basic Info.plist will be generated by default, which specifies CFBundleIconFile, CFBundleDevelopmentRegion, CFBundleIdentifier, CFBundlePackageType, and NSHighResolutionCapable.

include-frameworks

A list of Framework directories to include in the app bundle.

include-resources

A list of tuples of additional files to include in the app bundle’s resources directory, with the first element being the source, and second the destination file or directory name.

codesign-identity

The identity of the key to be used to sign the app bundle.

codesign-entitlements

The path to an entitlements file to use for your application’s code signature.

codesign-timestamp

Use --timestamp when running codesign.

codesign-strict

Use --strict when running codesign.

codesign-verify

Use --verify when running codesign.

spctl-assess

Run spctl-assess to asses output from codesign.

codesign-deep

Boolean for whether to codesign using the --deep option.

codesign-options

Comma-seperated string of options to use with codesign --options.

codesign-resource-rules

Plist file to be passed to codesign’s --resource-rules option.

absolute-reference-path

Path to use for all referenced libraries instead of @executable_path