Author: johannes Date: 2007-06-06 06:56:45 -0500 (Wed, 06 Jun 2007) New Revision: 9680
Added: trunk/gnue-forms/packaging/osx/setup.py.dist_template Removed: trunk/gnue-forms/packaging/osx/setup.py Log: Changed py2app's setup into a dist_template Deleted: trunk/gnue-forms/packaging/osx/setup.py =================================================================== --- trunk/gnue-forms/packaging/osx/setup.py 2007-06-06 11:48:15 UTC (rev 9679) +++ trunk/gnue-forms/packaging/osx/setup.py 2007-06-06 11:56:45 UTC (rev 9680) @@ -1,34 +0,0 @@ -# setup script for py2app to build the GNUe Forms Application bundle -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( - py2app=dict( - iconfile='forms.icns', - site_packages=True, - argv_emulation=True, - excludes=['gnue'], - dist_dir='build-env/pkg-root/Applications', - bdist_base='build-pyapp', - plist=dict( - 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"], - CFBundleTypeName = "GNU Enterprise Form Definition", - CFBundleTypeRole = "Viewer"), - ], - ), - ), - ), - app=[ 'gnue-forms.py' ] - ) Copied: trunk/gnue-forms/packaging/osx/setup.py.dist_template (from rev 9677, trunk/gnue-forms/packaging/osx/setup.py) =================================================================== --- trunk/gnue-forms/packaging/osx/setup.py 2007-06-06 11:24:51 UTC (rev 9677) +++ trunk/gnue-forms/packaging/osx/setup.py.dist_template 2007-06-06 11:56:45 UTC (rev 9680) @@ -0,0 +1,34 @@ +# setup script for py2app to build the GNUe Forms Application bundle +from setuptools import setup +import py2app + +app_name = :TITLE: +app_vers = :VERSION: +short_vers = :MAJOR:.:MINOR:.:FINAL: + +# Build the .app file +setup( + options=dict( + py2app=dict( + iconfile='forms.icns', + site_packages=True, + argv_emulation=True, + excludes=['gnue'], + dist_dir='build-env/pkg-root/Applications', + bdist_base='build-pyapp', + plist=dict( + 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"], + CFBundleTypeName = "GNU Enterprise Form Definition", + CFBundleTypeRole = "Viewer"), + ], + ), + ), + ), + app=[ 'gnue-forms.py' ] + ) _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue