mailr13967 - /branches/gui_testing/setup.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 28, 2011 - 18:29:
Author: bugman
Date: Thu Jul 28 18:29:46 2011
New Revision: 13967

URL: http://svn.gna.org/viewcvs/relax?rev=13967&view=rev
Log:
Improvements to the script for building a Mac OS X standalone app.


Modified:
    branches/gui_testing/setup.py

Modified: branches/gui_testing/setup.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/setup.py?rev=13967&r1=13966&r2=13967&view=diff
==============================================================================
--- branches/gui_testing/setup.py (original)
+++ branches/gui_testing/setup.py Thu Jul 28 18:29:46 2011
@@ -36,6 +36,7 @@
 
 # relax module imports.
 from status import Status; status = Status()
+from version import version_full
 
 
 # Mac OS X setup.
@@ -44,10 +45,21 @@
     from setuptools import setup
 
     # The relax settings.
-    APP = ['relax.py']
+    APP = ['relax_gui_mode.py']
+    NAME = 'relax'
+    VERSION = version_full()
     OPTIONS = {
         'argv_emulation': True,
-        'iconfile': status.install_path + sep + 'graphics' + sep + 
'ulysses_shadowless_trans_128x128.icns'
+        'iconfile': status.install_path + sep + 'graphics' + sep + 
'ulysses_shadowless_trans_128x128.icns',
+        'packages': 'wx',
+        'site_packages': True,
+        'resources': 'docs/COPYING',
+        'plist': {
+            'CFBundleName':                 'relax',
+            'CFBundleShortVersionString':   version_full(),
+            'CFBundleGetInfoString':        'relax %s' % version_full(),
+            'CFBundleIdentifier':           'com.nmr-relax.relax'
+        }
     }
 
     # All files and directories.
@@ -71,6 +83,8 @@
     # Setup.
     setup(
         app=APP,
+        name=NAME,
+        version=VERSION,
         data_files=DATA_FILES,
         options={
             'py2app': OPTIONS,




Related Messages


Powered by MHonArc, Updated Thu Jul 28 19:00:03 2011