summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-03-06 22:45:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-03-06 22:45:29 (GMT)
commitbb74f95821406c3fbd970561c719fa70c02521b5 (patch)
tree18e4c4bc39b15fa56c10d574116350ead69cd9fa /Mac
parent36bcf9b94f8cbec99881f07225f4c682a7fecbe2 (diff)
downloadcpython-bb74f95821406c3fbd970561c719fa70c02521b5.zip
cpython-bb74f95821406c3fbd970561c719fa70c02521b5.tar.gz
cpython-bb74f95821406c3fbd970561c719fa70c02521b5.tar.bz2
Started on plst resource. Not enabled yet.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Resources/Carbon.r26
1 files changed, 22 insertions, 4 deletions
diff --git a/Mac/Resources/Carbon.r b/Mac/Resources/Carbon.r
index b072984..c19a032 100644
--- a/Mac/Resources/Carbon.r
+++ b/Mac/Resources/Carbon.r
@@ -4,12 +4,30 @@
* by Josef W. Wankerl
* 04/11/00
*/
-
-
-/*----------------------------carb € Carbon on OS X launch information --------------------------*/
+#define USE_CARB_RESOURCE
+#ifdef USE_CARB_RESOURCE
+/*----------------------------carb ¥ Carbon on OS X launch information --------------------------*/
type 'carb' {
};
resource 'carb'(0) {
-}; \ No newline at end of file
+};
+#else
+
+#include "macbuildno.h"
+
+#include "patchlevel.h"
+
+type 'plst'
+{
+ string;
+};
+
+resource 'plst' (0)
+{
+ "CFBundleName = \"MacPython\";\n" /* short name for Mac OS X */
+ "CFBundleShortVersionString = \""PY_VERSION"\";\n"
+ "CFBundleGetInfoString = \"MacPython "PY_VERSION".\";\n"
+};
+#endif