""" 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-mergeall-GUI.pyw'] # 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-mergeall-GUI', 'CFBundleDisplayName': 'Mergeall', 'CFBundleExecutable': 'launch-mergeall-GUI', # else automatic 'CFBundleGetInfoString': 'Backup and Mirror Your Stuff', # version/org details 'CFBundleVersion': '3.0.0', 'CFBundleShortVersionString': '3.0.0', 'CFBundleIdentifier': 'org.lutzware.Mergeall', # must be unique for Lanchpad 'NSHumanReadableCopyright': 'Copyright © 2014-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'], )