bdist_mac

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

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

Added in version 6.0: environment_variables, include_resources, absolute_reference_path and rpath_lib_folder options.

Changed in version 6.0: Replaced the compressed option with the no_compress option.

Deprecated since version 6.5: rpath_lib_folder option. Removed in version 6.12.

This is the equivalent help to specify the same options on the command line:

python setup.py bdist_mac --help