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

option name

description

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