From bddbb913a532af1a5c5f9865df0d627605634830 Mon Sep 17 00:00:00 2001 From: Jonathan Harris <jonathan@marginal.org.uk> Date: Sun, 29 Sep 2019 19:00:30 +0100 Subject: [PATCH] Build a standalone app on MacOS --- setup.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setup.py b/setup.py index f8eab66a..0613b449 100755 --- a/setup.py +++ b/setup.py @@ -26,11 +26,6 @@ if sys.platform=='win32': import py2exe dist_dir = 'dist.win32' elif sys.platform=='darwin': - if sys.executable.startswith('/usr'): - # SIP doesn't allow symlinks to /usr/bin/... - import subprocess - subprocess.call(['/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python'] + sys.argv, stdout=sys.stdout, stderr=sys.stderr) - sys.exit(0) dist_dir = 'dist.macosx' else: assert False, 'Unsupported platform %s' % sys.platform @@ -77,7 +72,6 @@ if sys.platform=='darwin': 'iconfile': '%s.icns' % APPNAME, 'include_plugins': [('plugins', x) for x in PLUGINS], 'resources': [ 'commodity.csv', 'rare_commodity.csv', 'snd_good.wav', 'snd_bad.wav', 'modules.p', 'ships.p', 'stations.p', 'systems.p'], - 'semi_standalone': True, 'site_packages': False, 'plist': { 'CFBundleName': APPLONGNAME,