~phatch-dev/phatch/phatch_app

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Nadia Alramli
  • Date: 2010-02-04 22:16:33 UTC
  • Revision ID: nadiana@gmail.com-20100204221633-izrbvw81q4dnuhj9
Associating Phatch with .phatch files

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
 
201
201
if MAC:
202
202
    import py2app
 
203
    plist = {
 
204
       'CFBundleDocumentTypes': [{
 
205
           'CFBundleTypeExtensions': ['phatch'],
 
206
           'CFBundleTypeName': 'Phatch Action List',
 
207
           'CFBundleTypeRole': 'Viewer',
 
208
           'CFBundleTypeIconFile': 'phatch.icns',
 
209
       }],
 
210
       'CFBundleGetInfoString': 'Phatch',
 
211
    }
203
212
    setup_options.update({
204
213
        'setup_requires': ['py2app'],
205
214
        'app': ['phatch/phatch.py'],
206
215
        'options': {
207
216
             'py2app': {
208
 
                 'argv_emulation': True,
209
217
                 'includes': actions,
210
218
                 'iconfile': 'images/icons/scalable/phatch.icns',
 
219
                 'plist': plist,
 
220
                 'argv_emulation': True,
211
221
              },
212
222
         }
213
223
    })