Commits

Josh VanderLinden committed ea60966

Updated the setup script for OSX

  • Participants
  • Parent commits 67c1c99

Comments (0)

Files changed (1)

         'res/twibber_128x128.png'
     )),
 ]
+excludes = ['pywin', 'pywin.debugger', 'pywin.debugger.dbgcon',
+            'pywin.dialogs', 'pywin.dialogs.list']
 
 if 'py2app' in sys.argv and sys.platform == 'darwin':
     import py2app
     options = dict(
         iconfile='res/twibber.icns',
-        semi_standalone=1,
+        #semi_standalone=1,
         compressed=1,
         optimize=2,
         plist=dict(
           version=__version__,
           data_files=data_files,
           options=dict(py2app=options),
+          setup_requires=['py2app'],
     )
 elif 'py2exe' in sys.argv and sys.platform in ['nt', 'win32']:
     import py2exe
         icon_resources=[(1, 'res/twibber.ico')],
         dest_base='twibber')
 
-    excludes = ['pywin', 'pywin.debugger', 'pywin.debugger.dbgcon',
-                'pywin.dialogs', 'pywin.dialogs.list']
-
     setup(
         options={
             'py2exe': {