commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9612 - trunk/gnue-forms/packaging/osx


From: johannes
Subject: [gnue] r9612 - trunk/gnue-forms/packaging/osx
Date: Wed, 23 May 2007 10:00:05 -0500 (CDT)

Author: johannes
Date: 2007-05-23 10:00:05 -0500 (Wed, 23 May 2007)
New Revision: 9612

Modified:
   trunk/gnue-forms/packaging/osx/setup.py
Log:
Use keys for application name and version so it could be changed easily 
by the release script


Modified: trunk/gnue-forms/packaging/osx/setup.py
===================================================================
--- trunk/gnue-forms/packaging/osx/setup.py     2007-05-23 14:29:17 UTC (rev 
9611)
+++ trunk/gnue-forms/packaging/osx/setup.py     2007-05-23 15:00:05 UTC (rev 
9612)
@@ -2,6 +2,10 @@
 from setuptools import setup
 import py2app
 
+app_name = 'GNUe Forms'
+app_vers = '0.6-pre3+svn.9611'
+short_vers= '0.6.0'
+
 # Build the .app file
 setup(
   options=dict(
@@ -14,10 +18,10 @@
         bdist_base='build-pyapp',
         # resources=['resources/License.txt'],
         plist=dict(
-          CFBundleName = "GNUe Forms",
-          CFBundleShortVersionString = "0.6.0", # must be in X.X.X format
-          CFBundleGetInfoString = "GNUe Forms 0.6-pre3",
-          CFBundleExecutable = "GNUe Forms",
+          CFBundleName = app_name,
+          CFBundleShortVersionString = short_vers, # must be in X.X.X format
+          CFBundleGetInfoString = "%s %s" % (app_name, app_vers),
+          CFBundleExecutable = app_name,
           CFBundleIdentifier = "com.gnuenterprise.forms",
           CFBundleDocumentTypes = [dict(
               CFBundleTypeExtensions = "gfd",





reply via email to

[Prev in Thread] Current Thread [Next in Thread]