File: pymailgui-products/unzipped/build/build-app-exe/macosx/setup.py

"""
This is a setup.py script generated by py2applet

See build.py for enclosing script and notes.

Usage:
    python setup.py py2app
"""

# import sys
# print(sys.executable, flush=True)
# print(sys.path, flush=True)

from setuptools import setup

APP = ['Launch_PyMailGUI.py']    # must match the source name

DATA_FILES = []          # not used here

INCLUDES = []            # not used here


OPTIONS = {
    # some options (icon, resources, excludes) come from the command-line too
    # see build.py for the command line that uses this file

    # ADDED: mergeall does not run arbitrary code
    'includes': INCLUDES,
    
    # CHANGED: it's broken, but irrelevant here
    'argv_emulation': False,

    # ADDED: don't edit Info.plist file (some plist entries are automatic)
    'plist': {
        # bundle details
        'CFBundleName':          'Launch_PyMailGUI',
        'CFBundleDisplayName':   'PyMailGUI',
        'CFBundleExecutable':    'Launch_PyMailGUI',     # else automatic
        'CFBundleGetInfoString': 'Email Without the Evil',

        # version/org details        
        'CFBundleVersion':            '4.0.0',
        'CFBundleShortVersionString': '4.0.0',
        'CFBundleIdentifier':
            'org.lutzware.PyMailGUI',  # must be unique for Lanchpad
        'NSHumanReadableCopyright':
            'Copyright © 2010-2017, M. Lutz (learning-python.com)',

        # declare common associatable types: none here
    }
}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)



[Home page] Books Code Blog Python Author Train Find ©M.Lutz