title: py2app app works only if launched from terminal
body: <p>I have just packaged my app (OSX 10.12.15 - python3.6 - py2app 0.12) and my application works only if launched from the terminal with <code>MyApp.app/Contents/MacOS/MyApp</code>. If I click on the app in the GUI, it doesn't start.</p>
  
  <p>This is my setup.py:</p>
  
  <pre><code>from setuptools import setup
  
      APP = ['mq.py']
      DATA_FILES = []
      OPTIONS = {
          'iconfile':'icons/mq.icns',
              'plist': {'CFBundleShortVersionString':'0.1.0',}
      }
  
      setup(
          app=APP,
          name='MyApp',
          data_files=DATA_FILES,
          options={'py2app': OPTIONS},
          setup_requires=['py2app'],
      )- 
  </code></pre>